From 0ee1de596dbc7aae7547152bd96add2c555f9d9e Mon Sep 17 00:00:00 2001 From: jedinjapan Date: Mon, 5 Aug 2024 01:13:24 -0500 Subject: [PATCH 01/15] Added autoconfig mapping for Hyperkin Scout Premium Wireless BT Additional mapping file for the Hyperkin Scout Premium Wireless BT. Prevents conflicts with other "Wireless Gamepad" devices. --- dinput/Hyperkin Scout Premium Wireless BT.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dinput/Hyperkin Scout Premium Wireless BT.cfg diff --git a/dinput/Hyperkin Scout Premium Wireless BT.cfg b/dinput/Hyperkin Scout Premium Wireless BT.cfg new file mode 100644 index 000000000..dedfd179d --- /dev/null +++ b/dinput/Hyperkin Scout Premium Wireless BT.cfg @@ -0,0 +1,17 @@ +input_driver = "dinput" +input_device = "Wireless Gamepad" +input_device_display_name = "Hyperkin Scout Premium Wireless BT" +input_vendor_id = "11812" +input_product_id = "8202" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_select_btn = "8" +input_start_btn = "9" +input_a_btn = "1" +input_b_btn = "0" +input_x_btn = "3" +input_y_btn = "2" +input_l_btn = "4" +input_r_btn = "5" \ No newline at end of file From d7247cb8e0ed011c419f04420e24bba4f2c17390 Mon Sep 17 00:00:00 2001 From: jedinjapan Date: Thu, 8 Aug 2024 01:34:26 -0500 Subject: [PATCH 02/15] Retro-Bit Saturn Bluetooth Controller Added configuration for Retro-bit Saturn Bluetooth Controller. Latest firmware. --- .../Retro-Bit Saturn Bluetooth Controller.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dinput/Retro-Bit Saturn Bluetooth Controller.cfg diff --git a/dinput/Retro-Bit Saturn Bluetooth Controller.cfg b/dinput/Retro-Bit Saturn Bluetooth Controller.cfg new file mode 100644 index 000000000..99a7fa5e6 --- /dev/null +++ b/dinput/Retro-Bit Saturn Bluetooth Controller.cfg @@ -0,0 +1,19 @@ +input_device_display_name = "Retro-bit Saturn Bluetooth Controller" +input_driver = "dinput" +input_device = "GamePad" +input_vendor_id = "6473" +input_product_id = "1026" +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "10" +input_start_btn = "11" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_a_btn = "1" +input_x_btn = "4" +input_l_btn = "6" +input_r_btn = "7" +input_l2_btn = "8" +input_r2_btn = "9" From aa5213ecd15255990bb3cd29e842537a5e4ab45f Mon Sep 17 00:00:00 2001 From: jedinjapan Date: Thu, 8 Aug 2024 01:43:15 -0500 Subject: [PATCH 03/15] Update Hyperkin Scout Premium Wireless BT.cfg Added Button Labels. Controller layout matches classic SNES pad configuration and is a 1:1 match for Retropad naming. --- dinput/Hyperkin Scout Premium Wireless BT.cfg | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dinput/Hyperkin Scout Premium Wireless BT.cfg b/dinput/Hyperkin Scout Premium Wireless BT.cfg index dedfd179d..87dc1425d 100644 --- a/dinput/Hyperkin Scout Premium Wireless BT.cfg +++ b/dinput/Hyperkin Scout Premium Wireless BT.cfg @@ -14,4 +14,17 @@ input_b_btn = "0" input_x_btn = "3" input_y_btn = "2" input_l_btn = "4" -input_r_btn = "5" \ No newline at end of file +input_r_btn = "5" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Select" +input_start_btn_label = "Start" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_a_btn_label = "A" +input_x_btn_label = "X" +input_l_btn_label = "L Button" +input_r_btn_label = "R Button" From 8b539a347a725b999b908cbf095e57d7894ed1dc Mon Sep 17 00:00:00 2001 From: jedinjapan Date: Thu, 8 Aug 2024 01:57:27 -0500 Subject: [PATCH 04/15] Update Retro-Bit Saturn Bluetooth Controller.cfg Added button labels for Saturn Gamepad. --- dinput/Retro-Bit Saturn Bluetooth Controller.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dinput/Retro-Bit Saturn Bluetooth Controller.cfg b/dinput/Retro-Bit Saturn Bluetooth Controller.cfg index 99a7fa5e6..dc2e8a3b8 100644 --- a/dinput/Retro-Bit Saturn Bluetooth Controller.cfg +++ b/dinput/Retro-Bit Saturn Bluetooth Controller.cfg @@ -17,3 +17,18 @@ input_l_btn = "6" input_r_btn = "7" input_l2_btn = "8" input_r2_btn = "9" + +input_b_btn_label = "A" +input_y_btn_label = "X" +input_select_btn_label = "Mode" +input_start_btn_label = "Start" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_a_btn_label = "B" +input_x_btn_label = "Y" +input_l_btn_label = "Left Shoulder" +input_r_btn_label = "Right Shoulder" +input_l2_btn_label = "Z" +input_r2_btn_label = "C" From 473e06245baf8caacab77aa439ed4d3c3de028ff Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Thu, 8 Aug 2024 12:01:23 -0400 Subject: [PATCH 05/15] hid: Autoconfig for Atari VCS Modern Controller --- hid/Atari VCS Modern Controller.cfg | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 hid/Atari VCS Modern Controller.cfg diff --git a/hid/Atari VCS Modern Controller.cfg b/hid/Atari VCS Modern Controller.cfg new file mode 100644 index 000000000..71541237b --- /dev/null +++ b/hid/Atari VCS Modern Controller.cfg @@ -0,0 +1,56 @@ +input_driver = "hid" +input_device = "Game Controller" +input_vendor_id = "12880" +input_product_id = "4098" +input_device_display_name = "Atari VCS Modern Controller" + +input_b_btn = "1" +input_y_btn = "3" +input_menu_toggle_btn = "11" +input_select_btn = "12" +input_start_btn = "10" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_a_btn = "2" +input_x_btn = "4" +input_l_btn = "5" +input_r_btn = "6" +input_l2_axis = "+10" +input_r2_axis = "+9" +input_l3_btn = "7" +input_r3_btn = "8" +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 = "+4" +input_r_x_minus_axis = "-4" +input_r_y_plus_axis = "+5" +input_r_y_minus_axis = "-5" + +input_b_btn_label = "A" +input_y_btn_label = "X" +input_select_btn_label = "Back" +input_start_btn_label = "Menu" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_a_btn_label = "B" +input_x_btn_label = "Y" +input_l_btn_label = "LB" +input_r_btn_label = "RB" +input_l2_axis_label = "LT" +input_r2_axis_label = "RT" +input_l3_btn_label = "Left Stick" +input_r3_btn_label = "Right Stick" +input_l_x_plus_axis_label = "Left Analog Right" +input_l_x_minus_axis_label = "Left Analog Left" +input_l_y_plus_axis_label = "Left Analog Up" +input_l_y_minus_axis_label = "Left Analog Down" +input_r_x_plus_axis_label = "Right Analog Right" +input_r_x_minus_axis_label = "Right Analog Left" +input_r_y_plus_axis_Label = "Right Analog Up" +input_r_y_minus_axis_label = "Right Analog Down" From 5baf6b4ca582e591d9c1137c71e667451991525e Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Thu, 8 Aug 2024 12:17:37 -0400 Subject: [PATCH 06/15] hid: Autoconfig for Atari VCS Classic Controller --- hid/Atari VCS Classic Controller.cfg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 hid/Atari VCS Classic Controller.cfg diff --git a/hid/Atari VCS Classic Controller.cfg b/hid/Atari VCS Classic Controller.cfg new file mode 100644 index 000000000..e7d08e103 --- /dev/null +++ b/hid/Atari VCS Classic Controller.cfg @@ -0,0 +1,24 @@ +input_driver = "hid" +input_device = "Classic Controller" +input_vendor_id = "12880" +input_product_id = "4097" +input_device_display_name = "Atari VCS Classic Controller" + +input_menu_toggle_btn = "4" +input_select_btn = "5" +input_start_btn = "3" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_a_btn = "1" +input_b_btn = "0" + +input_a_btn_label = "Shoulder" +input_b_btn_label = "Trigger" +input_select_btn_label = "Back" +input_start_btn_label = "Menu" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" From 3a2860e87ea3950beb9c97c672bf2f2de271e5da Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Thu, 15 Aug 2024 08:31:26 +0200 Subject: [PATCH 07/15] sdl2: Update PS4 Controller display name (#1169) * Update and rename PS4 Controller.cfg to PS4 Controller (v1).cfg input_device_display_name = "Sony DualShock 4 v1 Controller" * Rename PS4 Controller (v1).cfg to PS4 Controller.cfg minor --- sdl2/PS4 Controller.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/sdl2/PS4 Controller.cfg b/sdl2/PS4 Controller.cfg index 09934efba..bda20a5a6 100644 --- a/sdl2/PS4 Controller.cfg +++ b/sdl2/PS4 Controller.cfg @@ -1,5 +1,6 @@ input_driver = "sdl2" input_device = "PS4 Controller" +input_device_display_name = "Sony DualShock 4 v1 Controller" input_vendor_id = "1356" input_product_id = "1476" input_b_btn = "0" From 62e8777c3906c31aea784bdf1809af60e95c3968 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 15 Aug 2024 02:39:33 -0400 Subject: [PATCH 08/15] udev: Add Betop XF1 BFM Dongle Controller Fixes #866 --- udev/BETOP BETOP XF1 BFM DONGLE.cfg | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 udev/BETOP BETOP XF1 BFM DONGLE.cfg diff --git a/udev/BETOP BETOP XF1 BFM DONGLE.cfg b/udev/BETOP BETOP XF1 BFM DONGLE.cfg new file mode 100644 index 000000000..ddc7b1c79 --- /dev/null +++ b/udev/BETOP BETOP XF1 BFM DONGLE.cfg @@ -0,0 +1,29 @@ +input_driver = "udev" +input_device = "BETOP BETOP XF1 BFM DONGLE" +input_vendor_id = "8380" +input_product_id = "20541" +input_b_btn = "4" +input_y_btn = "7" +input_select_btn = "13" +input_start_btn = "14" +input_up_btn = "h0up" +input_down_btn = "h0down" +input_left_btn = "h0left" +input_right_btn = "h0right" +input_a_btn = "3" +input_x_btn = "6" +input_l_btn = "9" +input_r_btn = "10" +input_l2_btn = "11" +input_r2_btn = "12" +input_l3_btn = "16" +input_r3_btn = "17" +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_gun_trigger_mbtn = "1" From d5dc272879717e3f186c319dcbbcb399f7c054bc Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 15 Aug 2024 02:43:13 -0400 Subject: [PATCH 09/15] udev: Add Gamesir-T4 1.25 --- udev/Gamesir-T4 1.25.cfg | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 udev/Gamesir-T4 1.25.cfg diff --git a/udev/Gamesir-T4 1.25.cfg b/udev/Gamesir-T4 1.25.cfg new file mode 100644 index 000000000..fbf0a025a --- /dev/null +++ b/udev/Gamesir-T4 1.25.cfg @@ -0,0 +1,42 @@ +input_device = " Gamesir-T4 1.25" +input_device_display_name = "Gamesir-T4" +input_driver = "udev" +input_vendor_id = "1452" +input_product_id = "1564" +input_r_y_plus_axis = "+3" +input_left_btn = "h0left" +input_state_slot_decrease_btn = "h0left" +input_r_x_minus_axis = "-2" +input_right_btn = "h0right" +input_state_slot_increase_btn = "h0right" +input_r_btn = "7" +input_save_state_btn = "7" +input_down_btn = "h0down" +input_volume_down_btn = "h0down" +input_r_y_minus_axis = "-3" +input_l_btn = "6" +input_load_state_btn = "6" +input_r_x_plus_axis = "+2" +input_y_btn = "4" +input_x_btn = "3" +input_menu_toggle_btn = "3" +input_b_btn = "1" +input_reset_btn = "1" +input_a_btn = "0" +input_up_btn = "h0up" +input_volume_up_btn = "h0up" +input_select_btn = "10" +input_l3_btn = "13" +input_start_btn = "11" +input_exit_emulator_btn = "11" +input_l_x_plus_axis = "+0" +input_l_y_minus_axis = "-1" +input_enable_hotkey_btn = "10" +input_l2_axis = "+5" +input_rewind_axis = "+5" +input_r2_axis = "+4" +input_toggle_fast_forward_axis = "+4" +input_l_y_plus_axis = "+1" +input_r3_btn = "14" +input_fps_toggle_btn = "14" +input_l_x_minus_axis = "-0" From 6300fda849d5a5675670c72a8cc8649544e8ad04 Mon Sep 17 00:00:00 2001 From: 7oxicshadow <7oxicshadow@googlemail.com> Date: Thu, 15 Aug 2024 07:45:06 +0100 Subject: [PATCH 10/15] linuxraw: sdl2: Add Xbox Series X Controller (#1151) * Add xbox series controller support. Wayland looks likes it defaults to linuxraw input by default so adding a new autoconfig for the xbox series controllers * Remove guide button and add missing SDL2 config Guide button would be considered a per user customisation - Removed --- linuxraw/Xbox Wireless Controller.cfg | 57 +++++++++++++++++++++++++++ sdl2/Xbox Series X Controller.cfg | 55 ++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 linuxraw/Xbox Wireless Controller.cfg create mode 100644 sdl2/Xbox Series X Controller.cfg diff --git a/linuxraw/Xbox Wireless Controller.cfg b/linuxraw/Xbox Wireless Controller.cfg new file mode 100644 index 000000000..528225430 --- /dev/null +++ b/linuxraw/Xbox Wireless Controller.cfg @@ -0,0 +1,57 @@ +input_driver = "linuxraw" +input_device = "Xbox Wireless Controller" +input_device_display_name = "Xbox Series Controller" +input_vendor_id = "1118" +input_product_id = "2835" + +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "10" +input_start_btn = "11" +input_up_axis = "-7" +input_down_axis = "+7" +input_left_axis = "-6" +input_right_axis = "+6" +input_a_btn = "1" +input_x_btn = "4" +input_l_btn = "6" +input_r_btn = "7" +input_l2_axis = "+5" +input_r2_axis = "+4" +input_l3_btn = "13" +input_r3_btn = "14" +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_menu_toggle_btn = "12" + +input_b_btn_label = "A" +input_y_btn_label = "X" +input_select_btn_label = "Back" +input_start_btn_label = "Start" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_a_btn_label = "B" +input_x_btn_label = "Y" +input_l_btn_label = "Left Bumper" +input_r_btn_label = "Right Bumper" +input_l2_axis_label = "Left Trigger" +input_r2_axis_label = "Right Trigger" +input_l3_btn_label = "Left Thumb" +input_r3_btn_label = "Right Thumb" +input_l_x_plus_axis_label = "Left Analog Right" +input_l_x_minus_axis_label = "Left Analog Left" +input_l_y_plus_axis_label = "Left Analog Down" +input_l_y_minus_axis_label = "Left Analog Up" +input_r_x_plus_axis_label = "Right Analog Right" +input_r_x_minus_axis_label = "Right Analog Left" +input_r_y_plus_axis_label = "Right Analog Down" +input_r_y_minus_axis_label = "Right Analog Up" +#input_menu_toggle_btn_label = "Guide" diff --git a/sdl2/Xbox Series X Controller.cfg b/sdl2/Xbox Series X Controller.cfg new file mode 100644 index 000000000..29a06b0fe --- /dev/null +++ b/sdl2/Xbox Series X Controller.cfg @@ -0,0 +1,55 @@ +input_driver = "sdl2" +input_device = "Xbox Series X Controller" +input_vendor_id = "1118" +input_product_id = "2835" +input_b_btn = "0" +input_y_btn = "2" +input_select_btn = "4" +input_start_btn = "6" +input_up_btn = "11" +input_down_btn = "12" +input_left_btn = "13" +input_right_btn = "14" +input_a_btn = "1" +input_x_btn = "3" +input_l_btn = "9" +input_r_btn = "10" +input_l2_axis = "+4" +input_r2_axis = "+5" +input_l3_btn = "7" +input_r3_btn = "8" +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_menu_toggle_btn = "5" + +input_b_btn_label = "A" +input_y_btn_label = "X" +input_select_btn_label = "Back" +input_start_btn_label = "Start" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_a_btn_label = "B" +input_x_btn_label = "Y" +input_l_btn_label = "Left Bumper" +input_r_btn_label = "Right Bumper" +input_l2_axis_label = "Left Trigger" +input_r2_axis_label = "Right Trigger" +input_l3_btn_label = "Left Thumb" +input_r3_btn_label = "Right Thumb" +input_l_x_plus_axis_label = "Left Analog Right" +input_l_x_minus_axis_label = "Left Analog Left" +input_l_y_plus_axis_label = "Left Analog Down" +input_l_y_minus_axis_label = "Left Analog Up" +input_r_x_plus_axis_label = "Right Analog Right" +input_r_x_minus_axis_label = "Right Analog Left" +input_r_y_plus_axis_label = "Right Analog Down" +input_r_y_minus_axis_label = "Right Analog Up" +#input_menu_toggle_btn_label = "Guide" From 9edb75418f6c55dabf7ec03540c085673d118221 Mon Sep 17 00:00:00 2001 From: Alynne Date: Sun, 18 Aug 2024 21:05:30 -0400 Subject: [PATCH 11/15] Typo in udev Razer Kishi --- udev/Razer Kishi.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udev/Razer Kishi.cfg b/udev/Razer Kishi.cfg index 87954e43f..cb2391635 100644 --- a/udev/Razer Kishi.cfg +++ b/udev/Razer Kishi.cfg @@ -1,7 +1,7 @@ input_driver = "udev" input_device = "Razer Kishi" input_vendor_id = "10232" -input_produc_id = "3007" +input_product_id = "3007" input_b_btn = "5" input_y_btn = "8" input_select_btn = "15" @@ -50,4 +50,4 @@ input_l_y_minus_axis_label = "Left Analog Up" input_r_x_plus_axis_label = "Right Analog Right" input_r_x_minus_axis_label = "Right Analog Left" input_r_y_plus_axis_label = "Right Analog Down" -input_r_y_minus_axis_label = "Right Analog Up" \ No newline at end of file +input_r_y_minus_axis_label = "Right Analog Up" From 4b26714f8f38edf4d61b3b3cde68ec57cb12e29c Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Tue, 20 Aug 2024 04:30:30 +0200 Subject: [PATCH 12/15] Rename PS4 Controller.cfg to PS4 Controller (v1).cfg Renamed to PS4 Controller (v1).cfg to make room for PS4 Controller (v2).cfg, which can be renamed to PS4 Controller.cfg later, as it is a newer model commonly sold in stores. --- sdl2/{PS4 Controller.cfg => PS4 Controller (v1).cfg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdl2/{PS4 Controller.cfg => PS4 Controller (v1).cfg} (100%) diff --git a/sdl2/PS4 Controller.cfg b/sdl2/PS4 Controller (v1).cfg similarity index 100% rename from sdl2/PS4 Controller.cfg rename to sdl2/PS4 Controller (v1).cfg From 5299bd4a2d318f7acc69c4d1380d914752b9118f Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Fri, 23 Aug 2024 16:19:51 +0200 Subject: [PATCH 13/15] Update PS4 Controller (v1).cfg Unnecessary input_device in autoconfig files generated by the android, and sdl2 controller drivers - https://github.com/libretro/RetroArch/issues/16920 --- sdl2/PS4 Controller (v1).cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/sdl2/PS4 Controller (v1).cfg b/sdl2/PS4 Controller (v1).cfg index bda20a5a6..1feab9dfa 100644 --- a/sdl2/PS4 Controller (v1).cfg +++ b/sdl2/PS4 Controller (v1).cfg @@ -1,5 +1,4 @@ input_driver = "sdl2" -input_device = "PS4 Controller" input_device_display_name = "Sony DualShock 4 v1 Controller" input_vendor_id = "1356" input_product_id = "1476" From 4830c175471ccbdfa87e9277b57c605f98833195 Mon Sep 17 00:00:00 2001 From: Carlo Refice Date: Fri, 23 Aug 2024 22:26:21 +0200 Subject: [PATCH 14/15] sdl2: Add more buttons and button labels to Nintendo 64 Controller --- sdl2/Nintendo N64 Controller.cfg | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/sdl2/Nintendo N64 Controller.cfg b/sdl2/Nintendo N64 Controller.cfg index 29b8cdcc5..a3366f3bb 100644 --- a/sdl2/Nintendo N64 Controller.cfg +++ b/sdl2/Nintendo N64 Controller.cfg @@ -2,9 +2,12 @@ input_driver = "sdl2" input_device = "Nintendo N64 Controller" input_vendor_id = "1406" input_product_id = "8217" + +input_a_btn = "1" input_b_btn = "0" input_y_btn = "1" input_start_btn = "6" +input_select_btn = "15" input_up_btn = "11" input_down_btn = "12" input_left_btn = "13" @@ -12,6 +15,8 @@ input_right_btn = "14" input_l_btn = "9" input_r_btn = "10" input_l2_axis = "+4" +input_r2_btn = "7" +input_menu_toggle_btn = "5" input_l_x_plus_axis = "+0" input_l_x_minus_axis = "-0" input_l_y_plus_axis = "+1" @@ -20,3 +25,26 @@ input_r_x_plus_btn = "4" input_r_x_minus_btn = "2" input_r_y_plus_axis = "+5" input_r_y_minus_btn = "3" + +input_a_btn_label = "A" +input_y_btn_label = "A" +input_b_btn_label = "B" +input_start_btn_label = "Start" +input_select_btn_label = "Share" +input_up_btn_label = "D-Pad Up" +input_down_btn_label = "D-Pad Down" +input_left_btn_label = "D-Pad Left" +input_right_btn_label = "D-Pad Right" +input_l_btn_label = "L" +input_r_btn_label = "R" +input_l2_axis_label = "Z" +input_r2_btn_label = "ZR" +input_r_x_plus_btn_label = "C Right" +input_r_x_minus_btn_label = "C Left" +input_r_y_minus_btn_label = "C Up" +input_r_y_plus_axis_label = "C Down" +input_l_x_plus_axis_label = "Joystick Right" +input_l_x_minus_axis_label = "Joystick Left" +input_l_y_plus_axis_label = "Joystick Down" +input_l_y_minus_axis_label = "Joystick Up" +input_menu_toggle_btn_label = "Home" From 72cba648de70d8a0ae34a86a40d915e6a5ac95cb Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 24 Aug 2024 08:19:41 +0200 Subject: [PATCH 15/15] Update PS4 Controller (v1).cfg