From fb884f933e9171ad695db8d88d99e2a37963d470 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 10 Aug 2024 17:12:00 +0200 Subject: [PATCH 01/26] Create Nintendo Co., Ltd. Pro Controller.cfg --- .../Nintendo Co., Ltd. Pro Controller.cfg | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 linuxraw/Nintendo Co., Ltd. Pro Controller.cfg diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg new file mode 100644 index 000000000..5cb24d1e6 --- /dev/null +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -0,0 +1,56 @@ +# Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 + +input_driver = "linuxraw" +input_device = "Nintendo Co., Ltd. Pro Controller" + +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "9" +input_start_btn = "10" +input_up_axis = "-5" +input_down_axis = "+5" +input_left_axis = "-4" +input_right_axis = "+4" +input_a_btn = "1" +input_x_btn = "2" +input_l_btn = "5" +input_r_btn = "6" +input_l2_btn = "7" +input_r2_btn = "8" +input_l3_btn = "12" +input_r3_btn = "13" +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 = "11" + +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Minus" +input_start_btn_label = "Plus" +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" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" +input_l3_btn_label = "Left Stick Press" +input_r3_btn_label = "Right Stick Press" +input_l_x_plus_axis_label = "Left Analog X+ (Right)" +input_l_x_minus_axis_label = "Left Analog X- (Left)" +input_l_y_plus_axis_label = "Left Analog Y+ (Down)" +input_l_y_minus_axis_label = "Left Analog Y- (Up)" +input_r_x_plus_axis_label = "Right Analog X+ (Right)" +input_r_x_minus_axis_label = "Right Analog X- (Left)" +input_r_y_plus_axis_label = "Right Analog Y+ (Down)" +input_r_y_minus_axis_label = "Right Analog Y- (Up)" +input_menu_toggle_btn_label = "Home" From 4ddc9d8b076344496365b92765f79ed2264f04cf Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 10 Aug 2024 17:14:15 +0200 Subject: [PATCH 02/26] Update Nintendo Co., Ltd. Pro Controller.cfg # This file is a duplicate of Nintendo Switch Pro Controller.cfg, with the exception of the input_device variable value, which differs to ensure linuxraw can detect them across various Linux kernel versions. --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 5cb24d1e6..eddfd1dea 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,6 +1,7 @@ # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" +# This file is a duplicate of "Nintendo Switch Pro Controller.cfg", with the exception of the input_device variable value, which differs to ensure linuxraw can detect them across various Linux kernel versions. input_device = "Nintendo Co., Ltd. Pro Controller" input_b_btn = "0" From b67042b08092831695319aaf898d392fd51e4724 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 10 Aug 2024 20:32:22 +0200 Subject: [PATCH 03/26] Update Nintendo Co., Ltd. Pro Controller.cfg # The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable. This difference allows thelinuxraw driver to recognize the controller on various Linux kernel versions. --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index eddfd1dea..4e5633c37 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,7 +1,7 @@ # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" -# This file is a duplicate of "Nintendo Switch Pro Controller.cfg", with the exception of the input_device variable value, which differs to ensure linuxraw can detect them across various Linux kernel versions. +# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable. This difference allows thelinuxraw driver to recognize the controller on various Linux kernel versions. input_device = "Nintendo Co., Ltd. Pro Controller" input_b_btn = "0" From 09927a8167fd8e4e348bfdb0a47c073f77d8e874 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 21 Aug 2024 06:00:03 +0200 Subject: [PATCH 04/26] Update Nintendo Co., Ltd. Pro Controller.cfg --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 4e5633c37..1ed6d4372 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,7 +1,7 @@ # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" -# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable. This difference allows thelinuxraw driver to recognize the controller on various Linux kernel versions. +# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable. This difference allows the linuxraw and udev drivers to recognize the controller on various Linux kernel versions. input_device = "Nintendo Co., Ltd. Pro Controller" input_b_btn = "0" From 5ab3d29b06e4784abcd8a85d8bbbca76d50a1819 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 21 Aug 2024 09:25:23 +0200 Subject: [PATCH 05/26] Update Nintendo Co., Ltd. Pro Controller.cfg # This file has not been evaluated. The linuxraw autoconfig files cannot be assessed in Remote RetroPad or in games until this issue is resolved: [IMPORTANT] linuxraw: Mapping variables are ineffective - https://github.com/libretro/RetroArch/issues/16856[1]. --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 1ed6d4372..389513888 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,3 +1,5 @@ +# This file has not been evaluated. The linuxraw autoconfig files cannot be assessed in Remote RetroPad or in games until this issue is resolved: [IMPORTANT] linuxraw: Mapping variables are ineffective - https://github.com/libretro/RetroArch/issues/16856[1]. + # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" From b660503b34e24f044fcd56b81df3307f102f6363 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 21 Aug 2024 11:01:29 +0200 Subject: [PATCH 06/26] Update Nintendo Co., Ltd. Pro Controller.cfg --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 389513888..e5c808470 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -3,7 +3,7 @@ # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" -# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable. This difference allows the linuxraw and udev drivers to recognize the controller on various Linux kernel versions. +# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg"should have identical content except for the input_device variable until they can be merged when this issue has been solved: [IMPORTANT feature request]: Support multiple input_device names for controller compatibility across Linux kernels - https://github.com/libretro/RetroArch/issues/16907 input_device = "Nintendo Co., Ltd. Pro Controller" input_b_btn = "0" From eac4d1df5a47e548f169fc1659ad65abb857aed3 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 21 Aug 2024 11:04:15 +0200 Subject: [PATCH 07/26] Update Nintendo Co., Ltd. Pro Controller.cfg --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index e5c808470..ec56fc8d6 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -3,7 +3,7 @@ # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" -# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg"should have identical content except for the input_device variable until they can be merged when this issue has been solved: [IMPORTANT feature request]: Support multiple input_device names for controller compatibility across Linux kernels - https://github.com/libretro/RetroArch/issues/16907 +# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable until they can be merged when this issue has been solved: [IMPORTANT feature request]: Support multiple input_device names for controller compatibility across Linux kernels - https://github.com/libretro/RetroArch/issues/16907 input_device = "Nintendo Co., Ltd. Pro Controller" input_b_btn = "0" From 7f2b09ee81ba31f10c9cf1b1687598119931bb5f Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Fri, 23 Aug 2024 14:38:38 +0200 Subject: [PATCH 08/26] Update Nintendo Co., Ltd. Pro Controller.cfg removed generic commen --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 -- 1 file changed, 2 deletions(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index ec56fc8d6..6737536da 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,5 +1,3 @@ -# This file has not been evaluated. The linuxraw autoconfig files cannot be assessed in Remote RetroPad or in games until this issue is resolved: [IMPORTANT] linuxraw: Mapping variables are ineffective - https://github.com/libretro/RetroArch/issues/16856[1]. - # Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 input_driver = "linuxraw" From 6bf564fa3672e9891db25fa77d634941d23bf811 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Fri, 23 Aug 2024 16:45:25 +0200 Subject: [PATCH 09/26] Update Nintendo Co., Ltd. Pro Controller.cfg Removed the final comments --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 6737536da..95ed70779 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,9 +1,5 @@ -# Screenshot button (circle) is unbound in this autoconf, but has an ID of 4 - input_driver = "linuxraw" -# The files "Nintendo Co., Ltd. Pro Controller.cfg" and "Nintendo Switch Pro Controller.cfg" should have identical content except for the input_device variable until they can be merged when this issue has been solved: [IMPORTANT feature request]: Support multiple input_device names for controller compatibility across Linux kernels - https://github.com/libretro/RetroArch/issues/16907 input_device = "Nintendo Co., Ltd. Pro Controller" - input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From a839bddc9472f7d182063bca5ca815329639ba54 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 24 Aug 2024 02:45:15 +0200 Subject: [PATCH 10/26] Update Nintendo Co., Ltd. Pro Controller.cfg input_device_display_name = "Nintendo Switch Pro Controller (BlueTooth)" --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 95ed70779..eac3f99df 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,5 +1,6 @@ input_driver = "linuxraw" input_device = "Nintendo Co., Ltd. Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller (BlueTooth)" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From 1078b35fb51621f61976357d7849bc1821e365b8 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sat, 24 Aug 2024 08:20:23 +0200 Subject: [PATCH 11/26] Update Nintendo Co., Ltd. Pro Controller.cfg From ec351d3dc06bd8ca0653f56567ed88b437c9adf9 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Sun, 25 Aug 2024 10:20:03 +0200 Subject: [PATCH 12/26] Update Nintendo Co., Ltd. Pro Controller.cfg --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index eac3f99df..8849e8509 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -26,7 +26,6 @@ input_r_x_minus_axis = "-2" input_r_y_plus_axis = "+3" input_r_y_minus_axis = "-3" input_menu_toggle_btn = "11" - input_b_btn_label = "B" input_y_btn_label = "Y" input_select_btn_label = "Minus" From 280bbe5e9ffb04f8fbbdbc1307d98c4be904fc54 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Mon, 26 Aug 2024 09:34:26 +0200 Subject: [PATCH 13/26] Create Nintendo Switch Pro Controller.cfg Merge from https://github.com/libretro/retroarch-joypad-autoconfig/pull/1164/files --- linuxraw/Nintendo Switch Pro Controller.cfg | 53 +++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 linuxraw/Nintendo Switch Pro Controller.cfg diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg new file mode 100644 index 000000000..390fc96f8 --- /dev/null +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -0,0 +1,53 @@ +input_driver = "linuxraw" +input_device = "Nintendo Switch Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller" +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "9" +input_start_btn = "10" +input_up_axis = "-5" +input_down_axis = "+5" +input_left_axis = "-4" +input_right_axis = "+4" +input_a_btn = "1" +input_x_btn = "2" +input_l_btn = "5" +input_r_btn = "6" +input_l2_btn = "7" +input_r2_btn = "8" +input_l3_btn = "12" +input_r3_btn = "13" +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 = "11" +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Minus" +input_start_btn_label = "Plus" +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" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" +input_l3_btn_label = "Left Stick Press" +input_r3_btn_label = "Right Stick Press" +input_l_x_plus_axis_label = "Left Analog X+ (Right)" +input_l_x_minus_axis_label = "Left Analog X- (Left)" +input_l_y_plus_axis_label = "Left Analog Y+ (Down)" +input_l_y_minus_axis_label = "Left Analog Y- (Up)" +input_r_x_plus_axis_label = "Right Analog X+ (Right)" +input_r_x_minus_axis_label = "Right Analog X- (Left)" +input_r_y_plus_axis_label = "Right Analog Y+ (Down)" +input_r_y_minus_axis_label = "Right Analog Y- (Up)" +input_menu_toggle_btn_label = "Home" From f6e6725336aedd3a325b71fae42dc565eee60453 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Mon, 26 Aug 2024 09:41:47 +0200 Subject: [PATCH 14/26] Create Pro Controller.cfg --- linuxraw/Pro Controller.cfg | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 linuxraw/Pro Controller.cfg diff --git a/linuxraw/Pro Controller.cfg b/linuxraw/Pro Controller.cfg new file mode 100644 index 000000000..fb200d915 --- /dev/null +++ b/linuxraw/Pro Controller.cfg @@ -0,0 +1,53 @@ +input_driver = "linuxraw" +input_device = "Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth)" +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "9" +input_start_btn = "10" +input_up_axis = "-5" +input_down_axis = "+5" +input_left_axis = "-4" +input_right_axis = "+4" +input_a_btn = "1" +input_x_btn = "2" +input_l_btn = "5" +input_r_btn = "6" +input_l2_btn = "7" +input_r2_btn = "8" +input_l3_btn = "12" +input_r3_btn = "13" +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 = "11" +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Minus" +input_start_btn_label = "Plus" +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" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" +input_l3_btn_label = "Left Stick Press" +input_r3_btn_label = "Right Stick Press" +input_l_x_plus_axis_label = "Left Analog X+ (Right)" +input_l_x_minus_axis_label = "Left Analog X- (Left)" +input_l_y_plus_axis_label = "Left Analog Y+ (Down)" +input_l_y_minus_axis_label = "Left Analog Y- (Up)" +input_r_x_plus_axis_label = "Right Analog X+ (Right)" +input_r_x_minus_axis_label = "Right Analog X- (Left)" +input_r_y_plus_axis_label = "Right Analog Y+ (Down)" +input_r_y_minus_axis_label = "Right Analog Y- (Up)" +input_menu_toggle_btn_label = "Home" From 4f46cf26e902ed4665cc8aabb2b77724522f55b0 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Mon, 26 Aug 2024 09:42:15 +0200 Subject: [PATCH 15/26] Update Nintendo Co., Ltd. Pro Controller.cfg input_device_display_name = "Nintendo Switch Pro Controller (USB)" --- linuxraw/Nintendo Co., Ltd. Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg index 8849e8509..0ad329dac 100644 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -1,6 +1,6 @@ input_driver = "linuxraw" input_device = "Nintendo Co., Ltd. Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (BlueTooth)" +input_device_display_name = "Nintendo Switch Pro Controller (USB)" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From a4a684651a6133921b8790fa56e904becdc45e39 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 20:58:34 +0200 Subject: [PATCH 16/26] Delete linuxraw/Nintendo Co., Ltd. Pro Controller.cfg Avoid input_vendor_id/input_product_id conflict. Support multiple input_device and input_device_display_name variables - https://github.com/libretro/RetroArch/issues/16907 --- .../Nintendo Co., Ltd. Pro Controller.cfg | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 linuxraw/Nintendo Co., Ltd. Pro Controller.cfg diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg deleted file mode 100644 index 0ad329dac..000000000 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ /dev/null @@ -1,53 +0,0 @@ -input_driver = "linuxraw" -input_device = "Nintendo Co., Ltd. Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (USB)" -input_b_btn = "0" -input_y_btn = "3" -input_select_btn = "9" -input_start_btn = "10" -input_up_axis = "-5" -input_down_axis = "+5" -input_left_axis = "-4" -input_right_axis = "+4" -input_a_btn = "1" -input_x_btn = "2" -input_l_btn = "5" -input_r_btn = "6" -input_l2_btn = "7" -input_r2_btn = "8" -input_l3_btn = "12" -input_r3_btn = "13" -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 = "11" -input_b_btn_label = "B" -input_y_btn_label = "Y" -input_select_btn_label = "Minus" -input_start_btn_label = "Plus" -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" -input_r_btn_label = "R" -input_l2_btn_label = "ZL" -input_r2_btn_label = "ZR" -input_l3_btn_label = "Left Stick Press" -input_r3_btn_label = "Right Stick Press" -input_l_x_plus_axis_label = "Left Analog X+ (Right)" -input_l_x_minus_axis_label = "Left Analog X- (Left)" -input_l_y_plus_axis_label = "Left Analog Y+ (Down)" -input_l_y_minus_axis_label = "Left Analog Y- (Up)" -input_r_x_plus_axis_label = "Right Analog X+ (Right)" -input_r_x_minus_axis_label = "Right Analog X- (Left)" -input_r_y_plus_axis_label = "Right Analog Y+ (Down)" -input_r_y_minus_axis_label = "Right Analog Y- (Up)" -input_menu_toggle_btn_label = "Home" From 7c34ca8531b15c404abca6b16dc3ef6f4a981090 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 20:58:47 +0200 Subject: [PATCH 17/26] Delete linuxraw/Pro Controller.cfg Avoid input_vendor_id/input_product_id conflict. Support multiple input_device and input_device_display_name variables - https://github.com/libretro/RetroArch/issues/16907 --- linuxraw/Pro Controller.cfg | 53 ------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 linuxraw/Pro Controller.cfg diff --git a/linuxraw/Pro Controller.cfg b/linuxraw/Pro Controller.cfg deleted file mode 100644 index fb200d915..000000000 --- a/linuxraw/Pro Controller.cfg +++ /dev/null @@ -1,53 +0,0 @@ -input_driver = "linuxraw" -input_device = "Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth)" -input_b_btn = "0" -input_y_btn = "3" -input_select_btn = "9" -input_start_btn = "10" -input_up_axis = "-5" -input_down_axis = "+5" -input_left_axis = "-4" -input_right_axis = "+4" -input_a_btn = "1" -input_x_btn = "2" -input_l_btn = "5" -input_r_btn = "6" -input_l2_btn = "7" -input_r2_btn = "8" -input_l3_btn = "12" -input_r3_btn = "13" -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 = "11" -input_b_btn_label = "B" -input_y_btn_label = "Y" -input_select_btn_label = "Minus" -input_start_btn_label = "Plus" -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" -input_r_btn_label = "R" -input_l2_btn_label = "ZL" -input_r2_btn_label = "ZR" -input_l3_btn_label = "Left Stick Press" -input_r3_btn_label = "Right Stick Press" -input_l_x_plus_axis_label = "Left Analog X+ (Right)" -input_l_x_minus_axis_label = "Left Analog X- (Left)" -input_l_y_plus_axis_label = "Left Analog Y+ (Down)" -input_l_y_minus_axis_label = "Left Analog Y- (Up)" -input_r_x_plus_axis_label = "Right Analog X+ (Right)" -input_r_x_minus_axis_label = "Right Analog X- (Left)" -input_r_y_plus_axis_label = "Right Analog Y+ (Down)" -input_r_y_minus_axis_label = "Right Analog Y- (Up)" -input_menu_toggle_btn_label = "Home" From 6036036f23cb9bc1d90fba722c203d10dd39ef40 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 21:03:54 +0200 Subject: [PATCH 18/26] Create Nintendo Co., Ltd. Pro Controller.cfg Restored the file. Removed by mistake. linuxraw does not utilize vendor/product ID. --- .../Nintendo Co., Ltd. Pro Controller.cfg | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 linuxraw/Nintendo Co., Ltd. Pro Controller.cfg diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg new file mode 100644 index 000000000..0ad329dac --- /dev/null +++ b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg @@ -0,0 +1,53 @@ +input_driver = "linuxraw" +input_device = "Nintendo Co., Ltd. Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller (USB)" +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "9" +input_start_btn = "10" +input_up_axis = "-5" +input_down_axis = "+5" +input_left_axis = "-4" +input_right_axis = "+4" +input_a_btn = "1" +input_x_btn = "2" +input_l_btn = "5" +input_r_btn = "6" +input_l2_btn = "7" +input_r2_btn = "8" +input_l3_btn = "12" +input_r3_btn = "13" +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 = "11" +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Minus" +input_start_btn_label = "Plus" +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" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" +input_l3_btn_label = "Left Stick Press" +input_r3_btn_label = "Right Stick Press" +input_l_x_plus_axis_label = "Left Analog X+ (Right)" +input_l_x_minus_axis_label = "Left Analog X- (Left)" +input_l_y_plus_axis_label = "Left Analog Y+ (Down)" +input_l_y_minus_axis_label = "Left Analog Y- (Up)" +input_r_x_plus_axis_label = "Right Analog X+ (Right)" +input_r_x_minus_axis_label = "Right Analog X- (Left)" +input_r_y_plus_axis_label = "Right Analog Y+ (Down)" +input_r_y_minus_axis_label = "Right Analog Y- (Up)" +input_menu_toggle_btn_label = "Home" From 019c5ce5fd64ad6d30bb4c675b8ff5f2e7637165 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 21:04:29 +0200 Subject: [PATCH 19/26] Create Pro Controller.cfg Restored the file. Removed by mistake. linuxraw does not utilize vendor/product ID. --- linuxraw/Pro Controller.cfg | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 linuxraw/Pro Controller.cfg diff --git a/linuxraw/Pro Controller.cfg b/linuxraw/Pro Controller.cfg new file mode 100644 index 000000000..fb200d915 --- /dev/null +++ b/linuxraw/Pro Controller.cfg @@ -0,0 +1,53 @@ +input_driver = "linuxraw" +input_device = "Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth)" +input_b_btn = "0" +input_y_btn = "3" +input_select_btn = "9" +input_start_btn = "10" +input_up_axis = "-5" +input_down_axis = "+5" +input_left_axis = "-4" +input_right_axis = "+4" +input_a_btn = "1" +input_x_btn = "2" +input_l_btn = "5" +input_r_btn = "6" +input_l2_btn = "7" +input_r2_btn = "8" +input_l3_btn = "12" +input_r3_btn = "13" +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 = "11" +input_b_btn_label = "B" +input_y_btn_label = "Y" +input_select_btn_label = "Minus" +input_start_btn_label = "Plus" +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" +input_r_btn_label = "R" +input_l2_btn_label = "ZL" +input_r2_btn_label = "ZR" +input_l3_btn_label = "Left Stick Press" +input_r3_btn_label = "Right Stick Press" +input_l_x_plus_axis_label = "Left Analog X+ (Right)" +input_l_x_minus_axis_label = "Left Analog X- (Left)" +input_l_y_plus_axis_label = "Left Analog Y+ (Down)" +input_l_y_minus_axis_label = "Left Analog Y- (Up)" +input_r_x_plus_axis_label = "Right Analog X+ (Right)" +input_r_x_minus_axis_label = "Right Analog X- (Left)" +input_r_y_plus_axis_label = "Right Analog Y+ (Down)" +input_r_y_minus_axis_label = "Right Analog Y- (Up)" +input_menu_toggle_btn_label = "Home" From 522a31f13c205dda28ee011fff15101fd3f4ab92 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 23:17:02 +0200 Subject: [PATCH 20/26] Update Nintendo Switch Pro Controller.cfg --- linuxraw/Nintendo Switch Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg index 390fc96f8..5b4951905 100644 --- a/linuxraw/Nintendo Switch Pro Controller.cfg +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -1,6 +1,6 @@ input_driver = "linuxraw" input_device = "Nintendo Switch Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller" +input_device_display_name = "Nintendo Switch Pro Controller (USB/Bluetooth)" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From 461ee71fc0e9bf4f8a4b131b6804e53e1177eabe Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Wed, 4 Sep 2024 23:18:25 +0200 Subject: [PATCH 21/26] Update Nintendo Switch Pro Controller.cfg --- linuxraw/Nintendo Switch Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg index 5b4951905..650b915db 100644 --- a/linuxraw/Nintendo Switch Pro Controller.cfg +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -1,6 +1,6 @@ input_driver = "linuxraw" input_device = "Nintendo Switch Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (USB/Bluetooth)" +input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth/USB)" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From 5dd882b819daaf6ed909fa11193d461cddef9f18 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Thu, 12 Sep 2024 23:43:26 +0200 Subject: [PATCH 22/26] Update Nintendo Switch Pro Controller.cfg https://github.com/libretro/RetroArch/pull/16990 --- linuxraw/Nintendo Switch Pro Controller.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg index 650b915db..8234ca047 100644 --- a/linuxraw/Nintendo Switch Pro Controller.cfg +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -1,6 +1,7 @@ input_driver = "linuxraw" input_device = "Nintendo Switch Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth/USB)" +input_device_alt1 = "Nintendo Co., Ltd. Pro Controller" +input_device_alt2 = "Pro Controller" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9" From 61aee752ae285e305bfa9a5bd8c51c6ac3b0c590 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Thu, 12 Sep 2024 23:44:18 +0200 Subject: [PATCH 23/26] Delete linuxraw/Nintendo Co., Ltd. Pro Controller.cfg Merged to Nintendo Switch Pro Controller.cfg See https://github.com/libretro/RetroArch/pull/16990 --- .../Nintendo Co., Ltd. Pro Controller.cfg | 53 ------------------- 1 file changed, 53 deletions(-) delete mode 100644 linuxraw/Nintendo Co., Ltd. Pro Controller.cfg diff --git a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg b/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg deleted file mode 100644 index 0ad329dac..000000000 --- a/linuxraw/Nintendo Co., Ltd. Pro Controller.cfg +++ /dev/null @@ -1,53 +0,0 @@ -input_driver = "linuxraw" -input_device = "Nintendo Co., Ltd. Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (USB)" -input_b_btn = "0" -input_y_btn = "3" -input_select_btn = "9" -input_start_btn = "10" -input_up_axis = "-5" -input_down_axis = "+5" -input_left_axis = "-4" -input_right_axis = "+4" -input_a_btn = "1" -input_x_btn = "2" -input_l_btn = "5" -input_r_btn = "6" -input_l2_btn = "7" -input_r2_btn = "8" -input_l3_btn = "12" -input_r3_btn = "13" -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 = "11" -input_b_btn_label = "B" -input_y_btn_label = "Y" -input_select_btn_label = "Minus" -input_start_btn_label = "Plus" -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" -input_r_btn_label = "R" -input_l2_btn_label = "ZL" -input_r2_btn_label = "ZR" -input_l3_btn_label = "Left Stick Press" -input_r3_btn_label = "Right Stick Press" -input_l_x_plus_axis_label = "Left Analog X+ (Right)" -input_l_x_minus_axis_label = "Left Analog X- (Left)" -input_l_y_plus_axis_label = "Left Analog Y+ (Down)" -input_l_y_minus_axis_label = "Left Analog Y- (Up)" -input_r_x_plus_axis_label = "Right Analog X+ (Right)" -input_r_x_minus_axis_label = "Right Analog X- (Left)" -input_r_y_plus_axis_label = "Right Analog Y+ (Down)" -input_r_y_minus_axis_label = "Right Analog Y- (Up)" -input_menu_toggle_btn_label = "Home" From 81a4d9f137e918c80f10a1f4e4ceb62846dc0428 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Thu, 12 Sep 2024 23:44:30 +0200 Subject: [PATCH 24/26] Delete linuxraw/Pro Controller.cfg Merged to Nintendo Switch Pro Controller.cfg See https://github.com/libretro/RetroArch/pull/16990 --- linuxraw/Pro Controller.cfg | 53 ------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 linuxraw/Pro Controller.cfg diff --git a/linuxraw/Pro Controller.cfg b/linuxraw/Pro Controller.cfg deleted file mode 100644 index fb200d915..000000000 --- a/linuxraw/Pro Controller.cfg +++ /dev/null @@ -1,53 +0,0 @@ -input_driver = "linuxraw" -input_device = "Pro Controller" -input_device_display_name = "Nintendo Switch Pro Controller (Bluetooth)" -input_b_btn = "0" -input_y_btn = "3" -input_select_btn = "9" -input_start_btn = "10" -input_up_axis = "-5" -input_down_axis = "+5" -input_left_axis = "-4" -input_right_axis = "+4" -input_a_btn = "1" -input_x_btn = "2" -input_l_btn = "5" -input_r_btn = "6" -input_l2_btn = "7" -input_r2_btn = "8" -input_l3_btn = "12" -input_r3_btn = "13" -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 = "11" -input_b_btn_label = "B" -input_y_btn_label = "Y" -input_select_btn_label = "Minus" -input_start_btn_label = "Plus" -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" -input_r_btn_label = "R" -input_l2_btn_label = "ZL" -input_r2_btn_label = "ZR" -input_l3_btn_label = "Left Stick Press" -input_r3_btn_label = "Right Stick Press" -input_l_x_plus_axis_label = "Left Analog X+ (Right)" -input_l_x_minus_axis_label = "Left Analog X- (Left)" -input_l_y_plus_axis_label = "Left Analog Y+ (Down)" -input_l_y_minus_axis_label = "Left Analog Y- (Up)" -input_r_x_plus_axis_label = "Right Analog X+ (Right)" -input_r_x_minus_axis_label = "Right Analog X- (Left)" -input_r_y_plus_axis_label = "Right Analog Y+ (Down)" -input_r_y_minus_axis_label = "Right Analog Y- (Up)" -input_menu_toggle_btn_label = "Home" From 103508de1815087f426b54c929b85175f24652e1 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Fri, 13 Sep 2024 08:39:39 +0200 Subject: [PATCH 25/26] Update Nintendo Switch Pro Controller.cfg input_screenshot_btn = "4" --- linuxraw/Nintendo Switch Pro Controller.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg index 8234ca047..cd417fff7 100644 --- a/linuxraw/Nintendo Switch Pro Controller.cfg +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -27,6 +27,7 @@ input_r_x_minus_axis = "-2" input_r_y_plus_axis = "+3" input_r_y_minus_axis = "-3" input_menu_toggle_btn = "11" +input_screenshot_btn = "4" input_b_btn_label = "B" input_y_btn_label = "Y" input_select_btn_label = "Minus" @@ -52,3 +53,4 @@ input_r_x_minus_axis_label = "Right Analog X- (Left)" input_r_y_plus_axis_label = "Right Analog Y+ (Down)" input_r_y_minus_axis_label = "Right Analog Y- (Up)" input_menu_toggle_btn_label = "Home" +input_screenshot_btn_label = "Screenshot" From 0ee97c2f7d1359e1b5d55da7dda8465732051f40 Mon Sep 17 00:00:00 2001 From: David Hedlund Date: Mon, 16 Sep 2024 06:46:44 +0200 Subject: [PATCH 26/26] Update Nintendo Switch Pro Controller.cfg --- linuxraw/Nintendo Switch Pro Controller.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxraw/Nintendo Switch Pro Controller.cfg b/linuxraw/Nintendo Switch Pro Controller.cfg index cd417fff7..ea380b104 100644 --- a/linuxraw/Nintendo Switch Pro Controller.cfg +++ b/linuxraw/Nintendo Switch Pro Controller.cfg @@ -1,7 +1,7 @@ input_driver = "linuxraw" input_device = "Nintendo Switch Pro Controller" input_device_alt1 = "Nintendo Co., Ltd. Pro Controller" -input_device_alt2 = "Pro Controller" +input_device_alt3 = "Pro Controller" input_b_btn = "0" input_y_btn = "3" input_select_btn = "9"