Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions udev/PowerA_Wireless_Controller_for_Nintendo_Switch.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
input_driver = "udev"
input_device_display_name = "PowerA Wireless Controller for Nintendo Switch"
# VID copied from other PowerA configuration files.
# Controller does not recognise as a USB device and, therefore has no VID/PID.
# Happy to be proven wrong.
# hex = 20D6
#input_vendor_id = "8406"
#input_product_id = ""

#However, this line correctly configures the controller
input_device = "Lic2 Pro Controller"

input_up_btn_label = "Control Pad ↑"
input_up_btn = "h0up"
input_down_btn_label = "Control Pad ↓"
input_down_btn = "h0down"
input_left_btn_label = "Control Pad ←"
input_left_btn = "h0left"
input_right_btn_label = "Control Pad →"
input_right_btn = "h0right"

input_l_x_plus_axis_label = "Left Stick →"
input_l_x_plus_axis = "+0"
input_l_x_minus_axis_label = "Left Stick ←"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis_label = "Left Stick ↑"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis_label = "Left Stick ↓"
input_l_y_minus_axis = "-1"

input_r_x_plus_axis_label = "Right Stick →"
input_r_x_plus_axis = "+2"
input_r_x_minus_axis_label = "Right Stick ←"
input_r_x_minus_axis = "-2"
input_r_y_plus_axis_label = "Right Stick ↑"
input_r_y_plus_axis = "+3"
input_r_y_minus_axis_label = "Right Stick ↓"
input_r_y_minus_axis = "-3"

input_a_btn_label = "A Button"
input_a_btn = "1"
input_b_btn_label = "B Button"
input_b_btn = "0"
input_x_btn_label = "X Button"
input_x_btn = "3"
input_y_btn_label = "Y Button"
input_y_btn = "2"

input_select_btn_label = "- Button"
input_select_btn = "8"
input_select_btn_label = "+ Button"
input_start_btn = "9"
input_menu_toggle_btn = "Capture Button"
input_menu_toggle_btn = "13"

input_l_btn = "L Button"
input_l_btn = "4"
input_l_btn = "R Button"
input_r_btn = "5"
input_l2_btn = "ZL Button"
input_l2_btn = "6"
input_r2_btn = "ZR Button"
input_r2_btn = "7"