Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › XBox Controller not working with SNES games › Reply To: XBox Controller not working with SNES games
Hi, thanks for the reply.
I actually finally figured out what the problem was. With my W360Wireless controller, the right config file is “XboxGamepad(userspacedriver).cfg” which is located here : /opt/retropie/emulators/RetroArch/configs
There are other config files which was very confusing and was leading me to modify the wrong files.
So here is my correct config file, if it can help someone. ( with buttons SELECT+START to exit the emulator ).
input_device = "Xbox Gamepad (userspace driver)"
input_driver = "udev"
input_b_btn = "0"
input_y_btn = "2"
input_select_btn = "8"
input_start_btn = "9"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"
input_a_btn = "1"
input_x_btn = "3"
input_l_btn = "4"
input_r_btn = "5"
input_l2_btn = "6"
input_r2_btn = "7"
input_l3_btn = "11"
input_r3_btn = "12"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1"
input_r_x_plus_axis = "+2"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis = "-3"
input_enable_hotkey_btn = "8"
input_exit_emulator_btn = "9"
input_save_state_btn = "3"
input_load_state_btn = "1"
This works on SNES emulator.but not on Genesis ( megadrive ) emulator. I guess DGEN does not use Arch config…Will look into that emulator how to.
Thank