Help with D-Pad Setup!

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of trimmtrabb trimmtrabb 3 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #4362
    Profile photo of rpinoob


    I’m trying to configure my D-pad but I can’t get it to work in Retroarch SNES games. It works in EmulationStation. I also have the buttons (A/B/X/Y/L1/R1/Start/Select) working, but can’t figure out the D-pad for the life of me.

    in both “ALL” and “SNES”

    My config is this:

    input_player1_Joypad_index = 0
    input_player1_b_btn = 1
    input_player1_a_btn = 2
    input_player1_y_btn = 0
    input_player1_x_btn = 3
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_select_btn = 8
    input_player1_start_btn = 9
    input_player1_up_btn = h0up
    input_player1_down_btn = h0down
    input_player1_left_btn = h0left
    input_player1_right_btn = h0right

    These configurations are taken from the RetroArch controller configuration in EmulationStation.

    Any advice?

    Profile photo of kitchuk

    It looks like it’s setup for HAT controls. Try typing +1 and -1 for exame for the up and down buttons. Are you using an Xbox pad with xboxdrv installed?

    Profile photo of rpinoob

    sorry for the late reply, was out of town.

    I’m not using an xbox controller, its a $15 gamepad similar to a playstation 2 controller. It has 2 analog sticks and a D pad. I don’t have xboxdrv installed.

    I tried adding +1 and -1 with no luck.

    Any ideas?

    Profile photo of trimmtrabb

    If you install the jtest utility you can determine which buttons are being pressed on your pad. To install:

    sudo apt-get install joystick

    Then run:

    jstest /dev/input/js0

    If you have found the solution to your problem please mark the topic as resolved.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums are currently read only - please visit the new RetroPie forums at

Skip to toolbar