diff options
author | Daniel J. Ogorchock <djogorchock@gmail.com> | 2021-09-11 19:36:24 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-10-27 10:05:51 +0200 |
commit | 2af16c1f846bd60240745bbd3afa13d5f040c61a (patch) | |
tree | c25a099af90fc04acee4f0fe236a1ac1ef2aea41 /drivers/hid/hid-ids.h | |
parent | HID: playstation: fix return from dualsense_player_led_set_brightness() (diff) | |
download | linux-2af16c1f846bd60240745bbd3afa13d5f040c61a.tar.xz linux-2af16c1f846bd60240745bbd3afa13d5f040c61a.zip |
HID: nintendo: add nintendo switch controller driver
The hid-nintendo driver supports the Nintendo Switch Pro Controllers and
the Joy-Cons. The Pro Controllers can be used over USB or Bluetooth.
The Joy-Cons each create their own, independent input devices, so it is
up to userspace to combine them if desired.
Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r-- | drivers/hid/hid-ids.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 29564b370341..6b698c64bf52 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -917,6 +917,9 @@ #define USB_VENDOR_ID_NINTENDO 0x057e #define USB_DEVICE_ID_NINTENDO_WIIMOTE 0x0306 #define USB_DEVICE_ID_NINTENDO_WIIMOTE2 0x0330 +#define USB_DEVICE_ID_NINTENDO_JOYCONL 0x2006 +#define USB_DEVICE_ID_NINTENDO_JOYCONR 0x2007 +#define USB_DEVICE_ID_NINTENDO_PROCON 0x2009 #define USB_VENDOR_ID_NOVATEK 0x0603 #define USB_DEVICE_ID_NOVATEK_PCT 0x0600 |