Skip to content

Commit

Permalink
Add Lakka changes in joypad configs
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed Oct 30, 2023
1 parent 0ce2aa1 commit 3e01430
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 59 deletions.
44 changes: 10 additions & 34 deletions udev/Nintendo Switch Left Joy-Con.cfg
Original file line number Diff line number Diff line change
@@ -1,42 +1,18 @@
# Nintendo Switch Left Joy-Con (with nintendo-hid)
# With nintendo-hid, various features such as vibration, gyro, and USB support are available. It appears this will be included in the Linux kernel beginning with version 5.16:
# "Pull HID updates from Jiri Kosina:
#
# - support for Nintendo Switch Pro Controllers and Joy-Cons (Daniel J.
# Ogorchock)" - https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16

input_driver = "udev"
input_device = "Nintendo Switch Left Joy-Con"
input_device = "Nintendo Switch Left Joy-Con Test"

input_vendor_id = "1406"
# input_product_id = "8198"
input_product_id = "8198"

input_b_btn = "16"
input_y_btn = "14"
input_select_btn = "4"
input_start_btn = "9"
input_b_btn = "9"
input_y_btn = "7"
input_select_btn = "5"
input_start_btn = "0"
input_up_axis = "+0"
input_down_axis = "-0"
input_left_axis = "-1"
input_right_axis = "+1"
input_a_btn = "15"
input_x_btn = "17"
input_l_btn = "6"
input_r_btn = "8"

input_enable_hotkey_btn = "5"
input_menu_toggle_btn = "9"

input_b_btn_label = "Arrow down"
input_y_btn_label = "Arrow left"
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 = "Arrow right"
input_x_btn_label = "Arrow up"

input_enable_hotkey_btn_label = "L"
input_menu_toggle_btn_label = "Circle"
input_a_btn = "8"
input_x_btn = "10"
input_l_btn = "2"
input_r_btn = "4"
26 changes: 1 addition & 25 deletions udev/Nintendo Switch Right Joy-Con.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
# Nintendo Switch Right Joy-Con (with nintendo-hid)
# With nintendo-hid, various features such as vibration, gyro, and USB support are available. It appears this will be included in the Linux kernel beginning with version 5.16:
# "Pull HID updates from Jiri Kosina:
#
# - support for Nintendo Switch Pro Controllers and Joy-Cons (Daniel J.
# Ogorchock)" - https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16

input_driver = "udev"
input_device = "Nintendo Switch Right Joy-Con"

input_vendor_id = "1406"
# input_product_id = "8199"
input_product_id = "8199"

input_b_btn = "1"
input_y_btn = "0"
Expand All @@ -23,20 +16,3 @@ input_a_btn = "2"
input_x_btn = "3"
input_l_btn = "4"
input_r_btn = "6"

input_enable_hotkey_btn = "5"
input_menu_toggle_btn = "9"

input_b_btn_label = "A"
input_y_btn_label = "B"
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 = "X"
input_x_btn_label = "Y"

input_enable_hotkey_btn_label = "R"
input_menu_toggle_btn_label = "Home"

0 comments on commit 3e01430

Please sign in to comment.