Controller Mapping Problem - Working Globally but I don't know why
-
So it has taken me absolutely forever to get my controller set up to use in retropie. Essentially, I have a USB N64 controller.
This is the ONLY way it will work at all:
My "configs > all > retroarch > autoconfig > Generic USB Joystick" file looks like this:
input_device = "Generic USB Joystick "
input_driver = "udev"
input_l_btn = "4"
input_load_state_btn = ""
input_start_btn = "9"
input_enable_hotkey_btn = "9"
input_exit_emulator_btn = "7"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_a_btn = "6"
input_b_btn = "8"
input_z_btn = "7"
input_reset_btn = ""
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "5"
input_save_state_btn = ""
input_right_btn = "h0right"
input_state_slot_increase_btn = ""
input_l_x_minus_axis = "-0"
input_left_btn = "h0left"
input_state_slot_decrease_btn = ""
input_menu_toggle_btn = ""
input_state_slot_decrease_axis = ""
input_state_slot_increase_axis = ""
input_reset_axis = ""
input_menu_toggle_axis = ""
input_load_state_axis = ""
input_save_state_axis = ""
input_exit_emulator_axis = ""Then I have a file located at configs > n64 named "InputAutoCfg" which looks like this:
; Generic USB Joystick _START
plugged = True
plugin = 2
mouse = False
AnalogDeadzone = 4096,4096
AnalogPeak = 32768,32768
Mempak switch =
Rumblepak switch =
R Trig = button(5)
L Trig = button(4)
Start = button(9)
Y Axis = axis(1-,1+)
Z Trig = button(7)
DPad U = hat(0 Up)
A Button = button(6)
DPad D = hat(0 Down)
X Axis = axis(0-,0+)
DPad R = hat(0 Right)
B Button = button(8)
DPad L = hat(0 Left)
C Button R = button(1)
C Button L = button(3)
C Button D = button(2)
C Button U = button(0)
; Generic USB Joystick _ENDThis setup works great when playing N64 games. However, I want to re-map the same controller to use with SNES.
Changing anything in the N64 or SNES "retroarch" file does nothing.
I tried removing all Autoconfig files and placing the initial controller mapping (from the first file above) in the configs > all > "retroarch" file . This prevents everything from working.
I am completely stumped on how to set up this controller to work with multiple games.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.