File tree Expand file tree Collapse file tree 6 files changed +2364
-0
lines changed Expand file tree Collapse file tree 6 files changed +2364
-0
lines changed Original file line number Diff line number Diff line change @@ -13253,6 +13253,12 @@ W: http://www.netlab.is.tsukuba.ac.jp/~yokota/izumi/ninja/
13253
13253
F: Documentation/scsi/NinjaSCSI.rst
13254
13254
F: drivers/scsi/nsp32*
13255
13255
13256
+ NINTENDO HID DRIVER
13257
+ M: Daniel J. Ogorchock <
[email protected] >
13258
+
13259
+ S: Maintained
13260
+ F: drivers/hid/hid-nintendo*
13261
+
13256
13262
NIOS2 ARCHITECTURE
13257
13263
M: Dinh Nguyen <
[email protected] >
13258
13264
S: Maintained
Original file line number Diff line number Diff line change @@ -731,6 +731,30 @@ config HID_MULTITOUCH
731
731
To compile this driver as a module, choose M here: the
732
732
module will be called hid-multitouch.
733
733
734
+ config HID_NINTENDO
735
+ tristate "Nintendo Joy-Con and Pro Controller support"
736
+ depends on HID
737
+ depends on NEW_LEDS
738
+ depends on LEDS_CLASS
739
+ select POWER_SUPPLY
740
+ help
741
+ Adds support for the Nintendo Switch Joy-Cons and Pro Controller.
742
+ All controllers support bluetooth, and the Pro Controller also supports
743
+ its USB mode.
744
+
745
+ To compile this driver as a module, choose M here: the
746
+ module will be called hid-nintendo.
747
+
748
+ config NINTENDO_FF
749
+ bool "Nintendo Switch controller force feedback support"
750
+ depends on HID_NINTENDO
751
+ select INPUT_FF_MEMLESS
752
+ help
753
+ Say Y here if you have a Nintendo Switch controller and want to enable
754
+ force feedback support for it. This works for both joy-cons and the pro
755
+ controller. For the pro controller, both rumble motors can be controlled
756
+ individually.
757
+
734
758
config HID_NTI
735
759
tristate "NTI keyboard adapters"
736
760
help
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ obj-$(CONFIG_HID_MAYFLASH) += hid-mf.o
78
78
obj-$(CONFIG_HID_MICROSOFT) += hid-microsoft.o
79
79
obj-$(CONFIG_HID_MONTEREY) += hid-monterey.o
80
80
obj-$(CONFIG_HID_MULTITOUCH) += hid-multitouch.o
81
+ obj-$(CONFIG_HID_NINTENDO) += hid-nintendo.o
81
82
obj-$(CONFIG_HID_NTI) += hid-nti.o
82
83
obj-$(CONFIG_HID_NTRIG) += hid-ntrig.o
83
84
obj-$(CONFIG_HID_ORTEK) += hid-ortek.o
Original file line number Diff line number Diff line change 918
918
#define USB_VENDOR_ID_NINTENDO 0x057e
919
919
#define USB_DEVICE_ID_NINTENDO_WIIMOTE 0x0306
920
920
#define USB_DEVICE_ID_NINTENDO_WIIMOTE2 0x0330
921
+ #define USB_DEVICE_ID_NINTENDO_JOYCONL 0x2006
922
+ #define USB_DEVICE_ID_NINTENDO_JOYCONR 0x2007
923
+ #define USB_DEVICE_ID_NINTENDO_PROCON 0x2009
924
+ #define USB_DEVICE_ID_NINTENDO_CHRGGRIP 0x200E
921
925
922
926
#define USB_VENDOR_ID_NOVATEK 0x0603
923
927
#define USB_DEVICE_ID_NOVATEK_PCT 0x0600
You can’t perform that action at this time.
0 commit comments