Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[READY] sdl2: Update and rename Nintendo Switch Pro Controller (old).cfg to Nintendo Switch Pro Controller (non-HID) (default-off).cfg #1160

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
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
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# [This version is disabled by default to prevent conflict with the nintendo-hid version. Button layouts are not compatible.]
# Nintendo Switch Pro Controller (without nintendo-hid, bluetooth only)
# 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
#
# 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 = "sdl2"
input_device = "Nintendo Switch Pro Controller (old)"

# input_vendor_id = "1406"
# input_product_id = "8201"

#input_device = "Nintendo Switch Pro Controller"
input_device_display_name = "Nintendo Switch Pro Controller (non-HID)"
#input_vendor_id = "1406"
#input_product_id = "8201"
input_b_btn = "0"
input_y_btn = "2"
input_select_btn = "4"
Expand All @@ -39,7 +28,6 @@ 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 = "B"
input_y_btn_label = "Y"
input_select_btn_label = "Minus"
Expand Down
Loading