mirror of
https://github.com/libretro/retroarch-joypad-autoconfig.git
synced 2024-11-27 01:52:03 +00:00
Updated Switch Pro Controller for udev
* The replaced layout is a bluetooth-only layout without nintendo-hid * Prior layout has been retained in a disabled state for people who need it
This commit is contained in:
parent
1b5d43b6b3
commit
3abfcb248a
65
udev/Nintendo - Switch Pro Controller (bare).cfg
Normal file
65
udev/Nintendo - Switch Pro Controller (bare).cfg
Normal file
@ -0,0 +1,65 @@
|
||||
# Nintendo Switch Pro Controller (without nintendo-hid, bluetooth only)
|
||||
# This version is disabled by default to prevent conflict with the nintendo-hid version. Button layouts are not compatible.
|
||||
# Without nintendo-hid, various features such as vibration, gyro, and USB support are unavailable. It appears this will be included in the Linux kernel beginning with version 5.10.
|
||||
# The easiest solution for most users is to install the nintendo-hid DKMS module, available from https://github.com/nicman23/dkms-hid-nintendo/
|
||||
|
||||
input_driver = "udev"
|
||||
input_device = "Pro Controller"
|
||||
input_device_display_name = "Nintendo Switch Pro Controller"
|
||||
|
||||
# input_vendor_id = "1406"
|
||||
# input_product_id = "8201"
|
||||
|
||||
input_a_btn = "1"
|
||||
input_b_btn = "0"
|
||||
input_x_btn = "3"
|
||||
input_y_btn = "2"
|
||||
input_select_btn = "8"
|
||||
input_start_btn = "9"
|
||||
input_l_btn = "4"
|
||||
input_r_btn = "5"
|
||||
input_l2_btn = "6"
|
||||
input_r2_btn = "7"
|
||||
input_l3_btn = "10"
|
||||
input_r3_btn = "11"
|
||||
input_menu_toggle_btn = "12"
|
||||
|
||||
input_a_btn_label = "A"
|
||||
input_b_btn_label = "B"
|
||||
input_x_btn_label = "X"
|
||||
input_y_btn_label = "Y"
|
||||
input_select_btn_label = "Minus"
|
||||
input_start_btn_label = "Plus"
|
||||
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_menu_toggle_btn_label = "Home"
|
||||
|
||||
input_up_btn = "h0up"
|
||||
input_down_btn = "h0down"
|
||||
input_left_btn = "h0left"
|
||||
input_right_btn = "h0right"
|
||||
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_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_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)"
|
66
udev/Nintendo - Switch Pro Controller.cfg
Normal file
66
udev/Nintendo - Switch Pro Controller.cfg
Normal file
@ -0,0 +1,66 @@
|
||||
# Nintendo Switch Pro Controller (with nintendo-hid)
|
||||
# Without nintendo-hid, various features such as vibration, gyro, and USB support are unavailable. It appears this will be included in the Linux kernel beginning with version 5.10.
|
||||
# The easiest solution for most users is to install the nintendo-hid DKMS module, available from https://github.com/nicman23/dkms-hid-nintendo/
|
||||
# Screenshot button (circle) is unbound in this autoconf, but has an ID of 4
|
||||
|
||||
input_driver = "udev"
|
||||
input_device = "Pro Controller"
|
||||
input_device_display_name = "Nintendo Switch Pro Controller"
|
||||
|
||||
# Hex vid/pid: 057e:2009
|
||||
input_vendor_id = "1406"
|
||||
input_product_id = "8201"
|
||||
|
||||
input_a_btn = "1"
|
||||
input_b_btn = "0"
|
||||
input_x_btn = "2"
|
||||
input_y_btn = "3"
|
||||
input_select_btn = "9"
|
||||
input_start_btn = "10"
|
||||
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_menu_toggle_btn = "11"
|
||||
|
||||
input_a_btn_label = "A"
|
||||
input_b_btn_label = "B"
|
||||
input_x_btn_label = "X"
|
||||
input_y_btn_label = "Y"
|
||||
input_select_btn_label = "Minus"
|
||||
input_start_btn_label = "Plus"
|
||||
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_menu_toggle_btn_label = "Home"
|
||||
|
||||
input_up_btn = "h0up"
|
||||
input_down_btn = "h0down"
|
||||
input_left_btn = "h0left"
|
||||
input_right_btn = "h0right"
|
||||
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_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_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)"
|
@ -1,57 +0,0 @@
|
||||
// Nintendo Switch Pro Controller
|
||||
|
||||
input_driver = "udev"
|
||||
input_device = "Pro Controller"
|
||||
input_vendor_id = "1406"
|
||||
input_product_id = "8201"
|
||||
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 = "10"
|
||||
input_r3_btn = "11"
|
||||
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 = "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 = "AL"
|
||||
input_r3_btn_label = "AR"
|
||||
input_l_x_plus_axis_label = "Left Analog X+"
|
||||
input_l_x_minus_axis_label = "Left Analog X-"
|
||||
input_l_y_plus_axis_label = "Left Analog Y+"
|
||||
input_l_y_minus_axis_label = "Left Analog Y-"
|
||||
input_r_x_plus_axis_label = "Right Analog X+"
|
||||
input_r_x_minus_axis_label = "Right Analog X-"
|
||||
input_r_y_plus_axis_label = "Right Analog Y+"
|
||||
input_r_y_minus_axis_label = "Right Analog Y-"
|
||||
input_menu_toggle_btn_label = "Home"
|
Loading…
Reference in New Issue
Block a user