Open QuAzI opened 2 years ago
My hori fighting commander for switch has two modes.
If I plug it before my computer is turned on, it is recognized as HORIPAD S by SDL input driver. HORIPAD S doesn't have home button. If I plug it after my computer is fully booted, it is recognized as HORI Fighting Commander by SDL input driver. HORI Fighting Commander has home button.
I think your controller may also have two modes?
X-Input and DInput were developed by microsoft for x-box controllers. Perhaps, XInput and DInput modes turn your pad into an xbox controller.
Are the Device IDs the same as Xbox?
input_libretro_device_p1 = "513"
input_libretro_device_p2 = "513"
input_libretro_device_p3 = "1"
input_libretro_device_p4 = "1"
input_libretro_device_p5 = "1"
input_player1_analog_dpad_mode = "0"
input_player1_btn_a = "0"
input_player1_btn_b = "1"
input_player1_btn_l = "2"
input_player1_btn_l2 = "11"
input_player1_btn_r = "2"
input_player1_btn_r2 = "8"
input_player1_btn_y = "10"
input_player2_analog_dpad_mode = "0"
input_player2_btn_a = "0"
input_player2_btn_b = "1"
input_player2_btn_l = "2"
input_player2_btn_l2 = "11"
input_player2_btn_r = "2"
input_player2_btn_r2 = "8"
input_player2_btn_y = "10"
input_player3_analog_dpad_mode = "0"
input_player4_analog_dpad_mode = "0"
input_player5_analog_dpad_mode = "0"
input_remap_port_p1 = "0"
input_remap_port_p2 = "1"
input_remap_port_p3 = "2"
input_remap_port_p4 = "3"
input_remap_port_p5 = "4"
I have Retroflag Classic USB Controller similar to Sega MD joypad For NES/SNES games A,B,X,Y works fine. But for Sega mapping is strange and C, Z, additional mode keys doesn't work properly by default.
There is right remapping for this controller Genesis Plus GX.rmp.txt
Depends on distro it should be saved as Lakka: storage/remappings/Genesis Plus GX/Genesis Plus GX.rmp Android RetroArch: /storage/emulated/0/RetroArch/config/remaps/Genesis Plus GX/Genesis.Plus.GX.rmp
Controller description
By default it mistakenly detected like Microsoft X-Box 360 pad.cfg.txt (from Lakka joypads/udev)