aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorDaniel J. Ogorchock <djogorchock@gmail.com>2021-09-11 13:36:25 -0400
committerJiri Kosina <jkosina@suse.cz>2021-10-27 10:05:51 +0200
commitc5e6267695638b34d4029db32ae335a860f31ed5 (patch)
tree056f2660f757502171e2bac56f49bdad861f7d2a /drivers/hid/Kconfig
parentHID: nintendo: add nintendo switch controller driver (diff)
downloadwireguard-linux-c5e6267695638b34d4029db32ae335a860f31ed5.tar.xz
wireguard-linux-c5e6267695638b34d4029db32ae335a860f31ed5.zip
HID: nintendo: add player led support
This patch adds led_classdev functionality to the switch controller driver. It adds support for the 4 player LEDs. The Home Button LED still needs to be supported on the pro controllers and right joy-con. Signed-off-by: Daniel J. Ogorchock <djogorchock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 60c4f555773d..0f65a986943c 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -734,6 +734,8 @@ config HID_MULTITOUCH
config HID_NINTENDO
tristate "Nintendo Joy-Con and Pro Controller support"
depends on HID
+ depends on NEW_LEDS
+ depends on LEDS_CLASS
help
Adds support for the Nintendo Switch Joy-Cons and Pro Controller.
All controllers support bluetooth, and the Pro Controller also supports