Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4362
    rpinoob
    Participant

    Hello,

    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.

    /home/pi/RetroPie/configs/
    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?

    #4370
    kitchuk
    Participant

    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?

    #4884
    rpinoob
    Participant

    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?

    #4886
    trimmtrabb
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.