xref: /linux-6.15/drivers/hid/Kconfig (revision 6ea2a6fd)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# HID driver configuration
4#
5menuconfig HID_SUPPORT
6	bool "HID bus support"
7	default y
8	depends on INPUT
9	help
10	  This option adds core support for human interface device (HID).
11	  You will also need drivers from the following menu to make use of it.
12
13if HID_SUPPORT
14
15config HID
16	tristate "HID bus core support"
17	default y
18	depends on INPUT
19	help
20	  A human interface device (HID) is a type of computer device that
21	  interacts directly with and takes input from humans. The term "HID"
22	  most commonly used to refer to the USB-HID specification, but other
23	  devices (such as, but not strictly limited to, Bluetooth) are
24	  designed using HID specification (this involves certain keyboards,
25	  mice, tablets, etc). This option adds the HID bus to the kernel,
26	  together with generic HID layer code. The HID devices are added and
27	  removed from the HID bus by the transport-layer drivers, such as
28	  usbhid (USB_HID) and hidp (BT_HIDP).
29
30	  For docs and specs, see https://www.usb.org/developers/hidpage/
31
32	  If unsure, say Y.
33
34if HID
35
36config HID_BATTERY_STRENGTH
37	bool "Battery level reporting for HID devices"
38	select POWER_SUPPLY
39	default n
40	help
41	This option adds support of reporting battery strength (for HID devices
42	that support this feature) through power_supply class so that userspace
43	tools, such as upower, can display it.
44
45config HIDRAW
46	bool "/dev/hidraw raw HID device support"
47	help
48	Say Y here if you want to support HID devices (from the USB
49	specification standpoint) that aren't strictly user interface
50	devices, like monitor controls and Uninterruptible Power Supplies.
51
52	This module supports these devices separately using a separate
53	event interface on /dev/hidraw.
54
55	There is also a /dev/hiddev configuration option in the USB HID
56	configuration menu. In comparison to hiddev, this device does not process
57	the hid events at all (no parsing, no lookups). This lets applications
58	to work on raw hid events when they want to, and avoid using transport-specific
59	userspace libhid/libusb libraries.
60
61	If unsure, say Y.
62
63config UHID
64	tristate "User-space I/O driver support for HID subsystem"
65	default n
66	help
67	Say Y here if you want to provide HID I/O Drivers from user-space.
68	This allows to write I/O drivers in user-space and feed the data from
69	the device into the kernel. The kernel parses the HID reports, loads the
70	corresponding HID Device Driver or provides input devices on top of your
71	user-space device.
72
73	This driver cannot be used to parse HID-reports in user-space and write
74	special HID-drivers. You should use hidraw for that.
75	Instead, this driver allows to write the transport-layer driver in
76	user-space like USB-HID and Bluetooth-HID do in kernel-space.
77
78	If unsure, say N.
79
80	To compile this driver as a module, choose M here: the
81	module will be called uhid.
82
83config HID_GENERIC
84	tristate "Generic HID driver"
85	default HID
86	help
87	Support for generic devices on the HID bus. This includes most
88	keyboards and mice, joysticks, tablets and digitizers.
89
90	To compile this driver as a module, choose M here: the module
91	will be called hid-generic.
92
93	If unsure, say Y.
94
95menu "Special HID drivers"
96
97config HID_A4TECH
98	tristate "A4TECH mice"
99	default !EXPERT
100	help
101	Support for some A4TECH mice with two scroll wheels.
102
103config HID_ACCUTOUCH
104	tristate "Accutouch touch device"
105	depends on USB_HID
106	help
107	  This selects a driver for the Accutouch 2216 touch controller.
108
109	  The driver works around a problem in the reported device capabilities
110	  which causes userspace to detect the device as a mouse rather than
111          a touchscreen.
112
113	  Say Y here if you have a Accutouch 2216 touch controller.
114
115config HID_ACRUX
116	tristate "ACRUX game controller support"
117	help
118	Say Y here if you want to enable support for ACRUX game controllers.
119
120config HID_ACRUX_FF
121	bool "ACRUX force feedback support"
122	depends on HID_ACRUX
123	select INPUT_FF_MEMLESS
124	help
125	Say Y here if you want to enable force feedback support for ACRUX
126	game controllers.
127
128config HID_APPLE
129	tristate "Apple {i,Power,Mac}Books"
130	depends on LEDS_CLASS
131	depends on NEW_LEDS
132	default !EXPERT
133	help
134	Support for some Apple devices which less or more break
135	HID specification.
136
137	Say Y here if you want support for keyboards of	Apple iBooks, PowerBooks,
138	MacBooks, MacBook Pros and Apple Aluminum.
139
140config HID_APPLEIR
141	tristate "Apple infrared receiver"
142	depends on (USB_HID)
143	help
144	Support for Apple infrared remote control. All the Apple computers from
145	  2005 onwards include such a port, except the unibody Macbook (2009),
146	  and Mac Pros. This receiver is also used in the Apple TV set-top box
147	  prior to the 2010 model.
148
149	Say Y here if you want support for Apple infrared remote control.
150
151config HID_ASUS
152	tristate "Asus"
153	depends on USB_HID
154	depends on LEDS_CLASS
155	depends on ASUS_WMI || ASUS_WMI=n
156	select POWER_SUPPLY
157	help
158	Support for Asus notebook built-in keyboard and touchpad via i2c, and
159	the Asus Republic of Gamers laptop keyboard special keys.
160
161	Supported devices:
162	- EeeBook X205TA
163	- VivoBook E200HA
164	- GL553V series
165	- GL753V series
166
167config HID_AUREAL
168	tristate "Aureal"
169	help
170	Support for Aureal Cy se W-01RN Remote Controller and other Aureal derived remotes.
171
172config HID_BELKIN
173	tristate "Belkin Flip KVM and Wireless keyboard"
174	default !EXPERT
175	help
176	Support for Belkin Flip KVM and Wireless keyboard.
177
178config HID_BETOP_FF
179	tristate "Betop Production Inc. force feedback support"
180	depends on USB_HID
181	select INPUT_FF_MEMLESS
182	help
183	Say Y here if you want to enable force feedback support for devices by
184	BETOP Production Ltd.
185	Currently the following devices are known to be supported:
186	 - BETOP 2185 PC & BFM MODE
187
188config HID_BIGBEN_FF
189	tristate "BigBen Interactive Kids' gamepad support"
190	depends on USB_HID
191	depends on NEW_LEDS
192	depends on LEDS_CLASS
193	select INPUT_FF_MEMLESS
194	help
195	  Support for the "Kid-friendly Wired Controller" PS3OFMINIPAD
196	  gamepad made by BigBen Interactive, originally sold as a PS3
197	  accessory. This driver fixes input mapping and adds support for
198	  force feedback effects and LEDs on the device.
199
200config HID_CHERRY
201	tristate "Cherry Cymotion keyboard"
202	default !EXPERT
203	help
204	Support for Cherry Cymotion keyboard.
205
206config HID_CHICONY
207	tristate "Chicony devices"
208	depends on USB_HID
209	default !EXPERT
210	help
211	Support for Chicony Tactical pad and special keys on Chicony keyboards.
212
213config HID_CORSAIR
214	tristate "Corsair devices"
215	depends on USB_HID && LEDS_CLASS
216	select POWER_SUPPLY
217	help
218	Support for Corsair devices that are not fully compliant with the
219	HID standard.
220	Support for Corsair Void headsets.
221
222	Supported devices:
223	- Vengeance K90
224	- Scimitar PRO RGB
225	- Corsair Void headsets
226
227config HID_COUGAR
228	tristate "Cougar devices"
229	help
230	Support for Cougar devices that are not fully compliant with the
231	HID standard.
232
233	Supported devices:
234	- Cougar 500k Gaming Keyboard
235
236config HID_MACALLY
237	tristate "Macally devices"
238	help
239	Support for Macally devices that are not fully compliant with the
240	HID standard.
241
242	supported devices:
243	- Macally ikey keyboard
244
245config HID_PRODIKEYS
246	tristate "Prodikeys PC-MIDI Keyboard support"
247	depends on USB_HID && SND
248	select SND_RAWMIDI
249	help
250	Support for Prodikeys PC-MIDI Keyboard device support.
251	Say Y here to enable support for this device.
252	- Prodikeys PC-MIDI keyboard.
253	  The Prodikeys PC-MIDI acts as a USB Audio device, with one MIDI
254	  input and one MIDI output. These MIDI jacks appear as
255	  a sound "card" in the ALSA sound system.
256	  Note: if you say N here, this device will still function as a basic
257	  multimedia keyboard, but will lack support for the musical keyboard
258	  and some additional multimedia keys.
259
260config HID_CMEDIA
261	tristate "CMedia audio chips"
262	help
263	Support for CMedia CM6533 HID audio jack controls
264        and HS100B mute buttons.
265
266config HID_CP2112
267	tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
268	depends on USB_HID && HIDRAW && I2C && GPIOLIB
269	select GPIOLIB_IRQCHIP
270	help
271	Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
272	This is a HID device driver which registers as an i2c adapter
273	and gpiochip to expose these functions of the CP2112. The
274	customizable USB descriptor fields are exposed as sysfs attributes.
275
276config HID_CREATIVE_SB0540
277	tristate "Creative SB0540 infrared receiver"
278	depends on USB_HID
279	help
280	Support for Creative infrared SB0540-compatible remote controls, such
281	as the RM-1500 and RM-1800 remotes.
282
283	Say Y here if you want support for Creative SB0540 infrared receiver.
284
285config HID_CYPRESS
286	tristate "Cypress mouse and barcode readers"
287	default !EXPERT
288	help
289	Support for cypress mouse and barcode readers.
290
291config HID_DRAGONRISE
292	tristate "DragonRise Inc. game controller"
293	help
294	Say Y here if you have DragonRise Inc. game controllers.
295	These might be branded as:
296	- Tesun USB-703
297	- Media-tech MT1504 "Rogue"
298	- DVTech JS19 "Gear"
299	- Defender Game Master
300
301config DRAGONRISE_FF
302	bool "DragonRise Inc. force feedback"
303	depends on HID_DRAGONRISE
304	select INPUT_FF_MEMLESS
305	help
306	Say Y here if you want to enable force feedback support for DragonRise Inc.
307	game controllers.
308
309config HID_EMS_FF
310	tristate "EMS Production Inc. force feedback support"
311	select INPUT_FF_MEMLESS
312	help
313	Say Y here if you want to enable force feedback support for devices by
314	EMS Production Ltd.
315	Currently the following devices are known to be supported:
316	 - Trio Linker Plus II
317
318config HID_ELAN
319	tristate "ELAN USB Touchpad Support"
320	depends on LEDS_CLASS && USB_HID
321	help
322	Say Y to enable support for the USB ELAN touchpad
323	Currently the following devices are known to be supported:
324	 - HP Pavilion X2 10-p0XX.
325
326config HID_ELECOM
327	tristate "ELECOM HID devices"
328	help
329	Support for ELECOM devices:
330	  - BM084 Bluetooth Mouse
331	  - EX-G Trackballs (M-XT3DRBK, M-XT3URBK)
332	  - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK)
333	  - HUGE Trackballs (M-HT1DRBK, M-HT1URBK)
334
335config HID_ELO
336	tristate "ELO USB 4000/4500 touchscreen"
337	depends on USB_HID
338	help
339	Support for the ELO USB 4000/4500 touchscreens. Note that this is for
340	different devices than those handled by CONFIG_TOUCHSCREEN_USB_ELO.
341
342config HID_EVISION
343	tristate "EVision Keyboards Support"
344	depends on HID
345	help
346	Support for some EVision keyboards. Note that this is needed only when
347	applying customization using userspace programs.
348
349config HID_EZKEY
350	tristate "Ezkey BTC 8193 keyboard"
351	default !EXPERT
352	help
353	Support for Ezkey BTC 8193 keyboard.
354
355config HID_FT260
356	tristate "FTDI FT260 USB HID to I2C host support"
357	depends on USB_HID && HIDRAW && I2C
358	help
359	  Provides I2C host adapter functionality over USB-HID through FT260
360	  device. The customizable USB descriptor fields are exposed as sysfs
361	  attributes.
362
363	  To compile this driver as a module, choose M here: the module
364	  will be called hid-ft260.
365
366config HID_GEMBIRD
367	tristate "Gembird Joypad"
368	help
369	Support for Gembird JPD-DualForce 2.
370
371config HID_GFRM
372	tristate "Google Fiber TV Box remote control support"
373	help
374	Support for Google Fiber TV Box remote controls
375
376config HID_GLORIOUS
377	tristate "Glorious PC Gaming Race mice"
378	help
379	  Support for Glorious PC Gaming Race mice such as
380	  the Glorious Model O, O- and D.
381
382config HID_HOLTEK
383	tristate "Holtek HID devices"
384	depends on USB_HID
385	help
386	Support for Holtek based devices:
387	  - Holtek On Line Grip based game controller
388	  - Trust GXT 18 Gaming Keyboard
389	  - Sharkoon Drakonia / Perixx MX-2000 gaming mice
390	  - Tracer Sniper TRM-503 / NOVA Gaming Slider X200 /
391	    Zalman ZM-GM1
392	  - SHARKOON DarkGlider Gaming mouse
393	  - LEETGION Hellion Gaming Mouse
394
395config HOLTEK_FF
396	bool "Holtek On Line Grip force feedback support"
397	depends on HID_HOLTEK
398	select INPUT_FF_MEMLESS
399	help
400	  Say Y here if you have a Holtek On Line Grip based game controller
401	  and want to have force feedback support for it.
402
403config HID_VIVALDI_COMMON
404	tristate
405	help
406	  ChromeOS Vivaldi HID parsing support library. This is a hidden
407	  option so that drivers can use common code to parse the HID
408	  descriptors for vivaldi function row keymap.
409
410config HID_GOODIX_SPI
411	tristate "Goodix GT7986U SPI HID touchscreen"
412	depends on SPI_MASTER
413	help
414	  Support for Goodix GT7986U SPI HID touchscreen device.
415
416config HID_GOOGLE_HAMMER
417	tristate "Google Hammer Keyboard"
418	select HID_VIVALDI_COMMON
419	select INPUT_VIVALDIFMAP
420	depends on USB_HID && LEDS_CLASS && CROS_EC
421	help
422	Say Y here if you have a Google Hammer device.
423
424config HID_GOOGLE_STADIA_FF
425	tristate "Google Stadia force feedback"
426	select INPUT_FF_MEMLESS
427	help
428	Say Y here if you want to enable force feedback support for the Google
429	Stadia controller.
430
431config HID_VIVALDI
432	tristate "Vivaldi Keyboard"
433	select HID_VIVALDI_COMMON
434	select INPUT_VIVALDIFMAP
435	help
436	  Say Y here if you want to enable support for Vivaldi keyboards.
437
438	  Vivaldi keyboards use a vendor-specific (Google) HID usage to report
439	  how the keys in the top row are physically ordered.
440
441config HID_GT683R
442	tristate "MSI GT68xR LED support"
443	depends on LEDS_CLASS && USB_HID
444	help
445	Say Y here if you want to enable support for the three MSI GT68xR LEDs
446
447	This driver support following modes:
448	  - Normal: LEDs are fully on when enabled
449	  - Audio:  LEDs brightness depends on sound level
450	  - Breathing: LEDs brightness varies at human breathing rate
451
452	Currently the following devices are know to be supported:
453	  - MSI GT683R
454
455config HID_KEYTOUCH
456	tristate "Keytouch HID devices"
457	help
458	Support for Keytouch HID devices not fully compliant with
459	the specification. Currently supported:
460		- Keytouch IEC 60945
461
462config HID_KYE
463	tristate "KYE/Genius devices"
464	help
465	Support for KYE/Genius devices not fully compliant with HID standard:
466	- Ergo Mouse
467	- EasyPen i405X tablet
468	- MousePen i608X tablet
469	- EasyPen M610X tablet
470
471config HID_UCLOGIC
472	tristate "UC-Logic"
473	depends on USB_HID
474	help
475	Support for UC-Logic and Huion tablets.
476
477config HID_WALTOP
478	tristate "Waltop"
479	help
480	Support for Waltop tablets.
481
482config HID_VIEWSONIC
483	tristate "ViewSonic/Signotec"
484	help
485	  Support for ViewSonic/Signotec PD1011 signature pad.
486
487config HID_VRC2
488	tristate "VRC-2 Car Controller"
489	depends on HID
490	help
491        Support for VRC-2 which is a 2-axis controller often used in
492        car simulators.
493
494        To compile this driver as a module, choose M here: the
495        module will be called hid-vrc2.
496
497config HID_XIAOMI
498	tristate "Xiaomi"
499	help
500	  Adds support for side buttons of Xiaomi Mi Dual Mode Wireless
501	  Mouse Silent Edition.
502
503config HID_GYRATION
504	tristate "Gyration remote control"
505	help
506	Support for Gyration remote control.
507
508config HID_ICADE
509	tristate "ION iCade arcade controller"
510	help
511	Support for the ION iCade arcade controller to work as a joystick.
512
513	To compile this driver as a module, choose M here: the
514	module will be called hid-icade.
515
516config HID_ITE
517	tristate "ITE devices"
518	default !EXPERT
519	help
520	Support for ITE devices not fully compliant with HID standard.
521
522config HID_JABRA
523	tristate "Jabra USB HID Driver"
524	help
525	Support for Jabra USB HID devices.
526
527	Prevents mapping of vendor defined HID usages to input events. Without
528	this driver HID	reports from Jabra devices may incorrectly be seen as
529	mouse button events.
530	Say M here if you may ever plug in a Jabra USB device.
531
532config HID_TWINHAN
533	tristate "Twinhan IR remote control"
534	help
535	Support for Twinhan IR remote control.
536
537config HID_KENSINGTON
538	tristate "Kensington Slimblade Trackball"
539	default !EXPERT
540	help
541	Support for Kensington Slimblade Trackball.
542
543config HID_LCPOWER
544	tristate "LC-Power"
545	help
546	Support for LC-Power RC1000MCE RF remote control.
547
548config HID_LED
549	tristate "Simple RGB LED support"
550	depends on LEDS_CLASS
551	help
552	Support for simple RGB LED devices. Currently supported are:
553	- Riso Kagaku Webmail Notifier
554	- Dream Cheeky Webmail Notifier and Friends Alert
555	- ThingM blink(1)
556	- Delcom Visual Signal Indicator Generation 2
557	- Greynut Luxafor
558
559	To compile this driver as a module, choose M here: the
560	module will be called hid-led.
561
562config HID_LENOVO
563	tristate "Lenovo / Thinkpad devices"
564	select NEW_LEDS
565	select LEDS_CLASS
566	help
567	Support for IBM/Lenovo devices that are not fully compliant with HID standard.
568
569	Say Y if you want support for horizontal scrolling of the IBM/Lenovo
570	Scrollpoint mice or the non-compliant features of the Lenovo Thinkpad
571	standalone keyboards, e.g:
572	- ThinkPad USB Keyboard with TrackPoint (supports extra LEDs and trackpoint
573	  configuration)
574	- ThinkPad Compact Bluetooth Keyboard with TrackPoint (supports Fn keys)
575	- ThinkPad Compact USB Keyboard with TrackPoint (supports Fn keys)
576
577config HID_LETSKETCH
578	tristate "Letsketch WP9620N tablets"
579	depends on USB_HID
580	help
581	  Driver for the LetSketch / VSON WP9620N drawing tablet. This
582	  drawing tablet is also sold under other brand names such as Case U,
583	  presumably this driver will work for all of them. But it has only been
584	  tested with a LetSketch WP9620N model.
585
586	  These tablets also work without a special HID driver, but then only
587	  part of the active area works and both the pad and stylus buttons are
588	  hardwired to special key-combos. E.g. the 2 stylus buttons send right
589	  mouse clicks / resp. "e" key presses.
590
591config HID_LOGITECH
592	tristate "Logitech devices"
593	depends on USB_HID
594	depends on LEDS_CLASS
595	default !EXPERT
596	help
597	Support for Logitech devices that are not fully compliant with HID standard.
598
599config HID_LOGITECH_DJ
600	tristate "Logitech receivers full support"
601	depends on USB_HID
602	depends on HIDRAW
603	depends on HID_LOGITECH
604	select HID_LOGITECH_HIDPP
605	help
606	Say Y if you want support for Logitech receivers and devices.
607	Logitech receivers are capable of pairing multiple Logitech compliant
608	devices to the same receiver. Without this driver it will be handled by
609	generic USB_HID driver and all incoming events will be multiplexed
610	into a single mouse and a single keyboard device.
611
612config HID_LOGITECH_HIDPP
613	tristate "Logitech HID++ devices support"
614	depends on HID_LOGITECH
615	select POWER_SUPPLY
616	help
617	Support for Logitech devices relying on the HID++ Logitech specification
618
619	Say Y if you want support for Logitech devices relying on the HID++
620	specification. Such devices are the various Logitech Touchpads (T650,
621	T651, TK820), some mice (Zone Touch mouse), or even keyboards (Solar
622	Keyboard).
623
624config LOGITECH_FF
625	bool "Logitech force feedback support"
626	depends on HID_LOGITECH
627	select INPUT_FF_MEMLESS
628	help
629	  Say Y here if you have one of these devices:
630	  - Logitech WingMan Cordless RumblePad
631	  - Logitech WingMan Cordless RumblePad 2
632	  - Logitech WingMan Force 3D
633
634	  and if you want to enable force feedback for them.
635	  Note: if you say N here, this device will still be supported, but without
636	  force feedback.
637
638config LOGIRUMBLEPAD2_FF
639	bool "Logitech force feedback support (variant 2)"
640	depends on HID_LOGITECH
641	select INPUT_FF_MEMLESS
642	help
643	  Say Y here if you want to enable force feedback support for:
644	  - Logitech RumblePad
645	  - Logitech Rumblepad 2
646	  - Logitech Formula Vibration Feedback Wheel
647
648config LOGIG940_FF
649	bool "Logitech Flight System G940 force feedback support"
650	depends on HID_LOGITECH
651	select INPUT_FF_MEMLESS
652	help
653	  Say Y here if you want to enable force feedback support for Logitech
654	  Flight System G940 devices.
655
656config LOGIWHEELS_FF
657	bool "Logitech wheels configuration and force feedback support"
658	depends on HID_LOGITECH
659	select INPUT_FF_MEMLESS
660	default LOGITECH_FF
661	help
662	  Say Y here if you want to enable force feedback and range setting(*)
663	  support for following Logitech wheels:
664	  - Logitech G25 (*)
665	  - Logitech G27 (*)
666	  - Logitech G29 (*)
667	  - Logitech Driving Force
668	  - Logitech Driving Force Pro (*)
669	  - Logitech Driving Force GT (*)
670	  - Logitech Driving Force EX/RX
671	  - Logitech Driving Force Wireless
672	  - Logitech Speed Force Wireless
673	  - Logitech MOMO Force
674	  - Logitech MOMO Racing Force
675	  - Logitech Formula Force GP
676	  - Logitech Formula Force EX/RX
677	  - Logitech Wingman Formula Force GP
678
679config HID_MAGICMOUSE
680	tristate "Apple Magic Mouse/Trackpad multi-touch support"
681	help
682	Support for the Apple Magic Mouse/Trackpad multi-touch.
683
684	Say Y here if you want support for the multi-touch features of the
685	Apple Wireless "Magic" Mouse and the Apple Wireless "Magic" Trackpad.
686
687config HID_MALTRON
688	tristate "Maltron L90 keyboard"
689	help
690	Adds support for the volume up, volume down, mute, and play/pause buttons
691	of the Maltron L90 keyboard.
692
693config HID_MAYFLASH
694	tristate "Mayflash game controller adapter force feedback"
695	select INPUT_FF_MEMLESS
696	help
697	Say Y here if you have HJZ Mayflash PS3 game controller adapters
698	and want to enable force feedback support.
699
700config HID_MEGAWORLD_FF
701	tristate "Mega World based game controller force feedback support"
702	depends on USB_HID
703	select INPUT_FF_MEMLESS
704	help
705	Say Y here if you have a Mega World based game controller and want
706	to have force feedback support for it.
707
708config HID_REDRAGON
709	tristate "Redragon keyboards"
710	default !EXPERT
711	help
712    Support for Redragon keyboards that need fix-ups to work properly.
713
714config HID_MICROSOFT
715	tristate "Microsoft non-fully HID-compliant devices"
716	default !EXPERT
717	select INPUT_FF_MEMLESS
718	help
719	Support for Microsoft devices that are not fully compliant with HID standard.
720
721config HID_MONTEREY
722	tristate "Monterey Genius KB29E keyboard"
723	default !EXPERT
724	help
725	Support for Monterey Genius KB29E.
726
727config HID_MULTITOUCH
728	tristate "HID Multitouch panels"
729	help
730	  Generic support for HID multitouch panels.
731
732	  Say Y here if you have one of the following devices:
733	  - 3M PCT touch screens
734	  - ActionStar dual touch panels
735	  - Atmel panels
736	  - Cando dual touch panels
737	  - Chunghwa panels
738	  - CJTouch panels
739	  - CVTouch panels
740	  - Cypress TrueTouch panels
741	  - Elan Microelectronics touch panels
742	  - Elo TouchSystems IntelliTouch Plus panels
743	  - GeneralTouch 'Sensing Win7-TwoFinger' panels
744	  - GoodTouch panels
745	  - Hanvon dual touch panels
746	  - Ilitek dual touch panels
747	  - IrTouch Infrared USB panels
748	  - LG Display panels (Dell ST2220Tc)
749	  - Lumio CrystalTouch panels
750	  - MosArt dual-touch panels
751	  - Panasonic multitouch panels
752	  - PenMount dual touch panels
753	  - Perixx Peripad 701 touchpad
754	  - PixArt optical touch screen
755	  - Pixcir dual touch panels
756	  - Quanta panels
757	  - eGalax dual-touch panels, including the Joojoo and Wetab tablets
758	  - SiS multitouch panels
759	  - Stantum multitouch panels
760	  - Touch International Panels
761	  - Unitec Panels
762	  - Wistron optical touch panels
763	  - XAT optical touch panels
764	  - Xiroku optical touch panels
765	  - Zytronic touch panels
766
767	  If unsure, say N.
768
769	  To compile this driver as a module, choose M here: the
770	  module will be called hid-multitouch.
771
772config HID_NINTENDO
773	tristate "Nintendo Joy-Con, NSO, and Pro Controller support"
774	depends on NEW_LEDS
775	depends on LEDS_CLASS
776	select POWER_SUPPLY
777	help
778	Adds support for the Nintendo Switch Joy-Cons, NSO, Pro Controller.
779	All controllers support bluetooth, and the Pro Controller also supports
780	its USB mode. This also includes support for the Nintendo Switch Online
781	Controllers which include the Genesis, SNES, and N64 controllers.
782
783	To compile this driver as a module, choose M here: the
784	module will be called hid-nintendo.
785
786config NINTENDO_FF
787	bool "Nintendo Switch controller force feedback support"
788	depends on HID_NINTENDO
789	select INPUT_FF_MEMLESS
790	help
791	Say Y here if you have a Nintendo Switch controller and want to enable
792	force feedback support for it. This works for both joy-cons, the pro
793	controller, and the NSO N64 controller. For the pro controller, both
794	rumble motors can be controlled individually.
795
796config HID_NTI
797	tristate "NTI keyboard adapters"
798	help
799	Support for the "extra" Sun keyboard keys on keyboards attached
800	through Network Technologies USB-SUN keyboard adapters.
801
802config HID_NTRIG
803	tristate "N-Trig touch screen"
804	depends on USB_HID
805	help
806	Support for N-Trig touch screen.
807
808config HID_NVIDIA_SHIELD
809	tristate "NVIDIA SHIELD devices"
810	depends on USB_HID
811	depends on BT_HIDP
812	depends on LEDS_CLASS
813	select POWER_SUPPLY
814	help
815	  Support for NVIDIA SHIELD accessories.
816
817	  Supported devices:
818	  - Thunderstrike (NVIDIA SHIELD Controller 2017)
819
820config NVIDIA_SHIELD_FF
821	bool "NVIDIA SHIELD force feedback support"
822	depends on HID_NVIDIA_SHIELD
823	select INPUT_FF_MEMLESS
824	help
825	  Say Y here if you would like to enable force feedback support for
826	  NVIDIA SHIELD accessories with haptics capabilities.
827
828config HID_ORTEK
829	tristate "Ortek PKB-1700/WKB-2000/Skycable wireless keyboard and mouse trackpad"
830	help
831	There are certain devices which have LogicalMaximum wrong in the keyboard
832	usage page of their report descriptor. The most prevailing ones so far
833	are manufactured by Ortek, thus the name of the driver. Currently
834	supported devices by this driver are
835
836	   - Ortek PKB-1700
837	   - Ortek WKB-2000
838	   - Skycable wireless presenter
839
840config HID_PANTHERLORD
841	tristate "Pantherlord/GreenAsia game controller"
842	help
843	  Say Y here if you have a PantherLord/GreenAsia based game controller
844	  or adapter.
845
846config PANTHERLORD_FF
847	bool "Pantherlord force feedback support"
848	depends on HID_PANTHERLORD
849	select INPUT_FF_MEMLESS
850	help
851	  Say Y here if you have a PantherLord/GreenAsia based game controller
852	  or adapter and want to enable force feedback support for it.
853
854config HID_PENMOUNT
855	tristate "Penmount touch device"
856	depends on USB_HID
857	help
858	  This selects a driver for the PenMount 6000 touch controller.
859
860	  The driver works around a problem in the report descript allowing
861	  the userspace to touch events instead of mouse events.
862
863	  Say Y here if you have a Penmount based touch controller.
864
865config HID_PETALYNX
866	tristate "Petalynx Maxter remote control"
867	help
868	Support for Petalynx Maxter remote control.
869
870config HID_PICOLCD
871	tristate "PicoLCD (graphic version)"
872	help
873	  This provides support for Minibox PicoLCD devices, currently
874	  only the graphical ones are supported.
875
876	  This includes support for the following device features:
877	  - Keypad
878	  - Switching between Firmware and Flash mode
879	  - EEProm / Flash access     (via debugfs)
880	  Features selectively enabled:
881	  - Framebuffer for monochrome 256x64 display
882	  - Backlight control
883	  - Contrast control
884	  - General purpose outputs
885	  Features that are not (yet) supported:
886	  - IR
887
888config HID_PICOLCD_FB
889	bool "Framebuffer support" if EXPERT
890	default !EXPERT
891	depends on HID_PICOLCD
892	depends on HID_PICOLCD=FB || FB=y
893	select FB_SYSMEM_HELPERS_DEFERRED
894	help
895	  Provide access to PicoLCD's 256x64 monochrome display via a
896	  framebuffer device.
897
898config HID_PICOLCD_BACKLIGHT
899	bool "Backlight control" if EXPERT
900	default !EXPERT
901	depends on HID_PICOLCD
902	depends on HID_PICOLCD=BACKLIGHT_CLASS_DEVICE || BACKLIGHT_CLASS_DEVICE=y
903	help
904	  Provide access to PicoLCD's backlight control via backlight
905	  class.
906
907config HID_PICOLCD_LCD
908	bool "Contrast control" if EXPERT
909	default !EXPERT
910	depends on HID_PICOLCD
911	depends on HID_PICOLCD=LCD_CLASS_DEVICE || LCD_CLASS_DEVICE=y
912	help
913	  Provide access to PicoLCD's LCD contrast via lcd class.
914
915config HID_PICOLCD_LEDS
916	bool "GPO via leds class" if EXPERT
917	default !EXPERT
918	depends on HID_PICOLCD
919	depends on HID_PICOLCD=LEDS_CLASS || LEDS_CLASS=y
920	help
921	  Provide access to PicoLCD's GPO pins via leds class.
922
923config HID_PICOLCD_CIR
924	bool "CIR via RC class" if EXPERT
925	default !EXPERT
926	depends on HID_PICOLCD
927	depends on HID_PICOLCD=RC_CORE || RC_CORE=y
928	help
929	  Provide access to PicoLCD's CIR interface via remote control (LIRC).
930
931config HID_PLANTRONICS
932	tristate "Plantronics USB HID Driver"
933	help
934	  Provides HID support for Plantronics USB audio devices.
935	  Correctly maps vendor unique volume up/down HID usages to
936	  KEY_VOLUMEUP and KEY_VOLUMEDOWN events and prevents core mapping
937	  of other vendor unique HID usages to random mouse events.
938
939	  Say M here if you may ever plug in a Plantronics USB audio device.
940
941config HID_PLAYSTATION
942	tristate "PlayStation HID Driver"
943	depends on LEDS_CLASS_MULTICOLOR
944	select CRC32
945	select POWER_SUPPLY
946	help
947	  Provides support for Sony PS4/PS5 controllers including support for
948	  its special functionalities e.g. touchpad, lights and motion
949	  sensors.
950
951config PLAYSTATION_FF
952	bool "PlayStation force feedback support"
953	depends on HID_PLAYSTATION
954	select INPUT_FF_MEMLESS
955	help
956	  Say Y here if you would like to enable force feedback support for
957	  PlayStation game controllers.
958
959config HID_PXRC
960       tristate "PhoenixRC HID Flight Controller"
961       depends on HID
962       help
963       Support for PhoenixRC HID Flight Controller, a 8-axis flight controller.
964
965       To compile this driver as a module, choose M here: the
966       module will be called hid-pxrc.
967
968config HID_RAZER
969	tristate "Razer non-fully HID-compliant devices"
970	help
971	Support for Razer devices that are not fully compliant with the
972	HID standard.
973
974config HID_PRIMAX
975	tristate "Primax non-fully HID-compliant devices"
976	help
977	Support for Primax devices that are not fully compliant with the
978	HID standard.
979
980config HID_RETRODE
981	tristate "Retrode 2 USB adapter for vintage video games"
982	depends on USB_HID
983	help
984	Support for
985	  * Retrode 2 cartridge and controller adapter
986
987config HID_ROCCAT
988	tristate "Roccat device support"
989	depends on USB_HID
990	help
991	Support for Roccat devices.
992	Say Y here if you have a Roccat mouse or keyboard and want
993	support for its special functionalities.
994
995config HID_SAITEK
996	tristate "Saitek (Mad Catz) non-fully HID-compliant devices"
997	help
998	Support for Saitek devices that are not fully compliant with the
999	HID standard.
1000
1001	Supported devices:
1002	- PS1000 Dual Analog Pad
1003	- Saitek R.A.T.7, R.A.T.9, M.M.O.7 Gaming Mice
1004	- Mad Catz R.A.T.5, R.A.T.9 Gaming Mice
1005
1006config HID_SAMSUNG
1007	tristate "Samsung InfraRed remote control or keyboards"
1008	depends on USB_HID
1009	help
1010	Support for Samsung InfraRed remote control or keyboards.
1011
1012config HID_SEMITEK
1013	tristate "Semitek USB keyboards"
1014	help
1015	Support for Semitek USB keyboards that are not fully compliant
1016	with the HID standard.
1017
1018	There are many variants, including:
1019	- GK61, GK64, GK68, GK84, GK96, etc.
1020	- SK61, SK64, SK68, SK84, SK96, etc.
1021	- Dierya DK61/DK66
1022	- Tronsmart TK09R
1023	- Woo-dy
1024	- X-Bows Nature/Knight
1025
1026config HID_SIGMAMICRO
1027	tristate "SiGma Micro-based keyboards"
1028	depends on USB_HID
1029	help
1030	  Support for keyboards that use the SiGma Micro (a.k.a SigmaChip) IC.
1031
1032	  Supported devices:
1033	  - Landslides KR-700
1034	  - Rapoo V500
1035
1036config HID_SONY
1037	tristate "Sony PS2/3/4 accessories"
1038	depends on USB_HID
1039	depends on NEW_LEDS
1040	depends on LEDS_CLASS
1041	select POWER_SUPPLY
1042	select CRC32
1043	help
1044	Support for
1045
1046	  * Sony PS3 6-axis controllers
1047	  * Sony PS4 DualShock 4 controllers
1048	  * Buzz controllers
1049	  * Sony PS3 Blue-ray Disk Remote Control (Bluetooth)
1050	  * Logitech Harmony adapter for Sony Playstation 3 (Bluetooth)
1051	  * Guitar Hero Live PS3, Wii U and PS4 guitar dongles
1052	  * Guitar Hero PS3 and PC guitar dongles
1053
1054config SONY_FF
1055	bool "Sony PS2/3/4 accessories force feedback support"
1056	depends on HID_SONY
1057	select INPUT_FF_MEMLESS
1058	help
1059	Say Y here if you have a Sony PS2/3/4 accessory and want to enable
1060	force feedback support for it.
1061
1062config HID_SPEEDLINK
1063	tristate "Speedlink VAD Cezanne mouse support"
1064	help
1065	Support for Speedlink Vicious and Divine Cezanne mouse.
1066
1067config HID_STEAM
1068	tristate "Steam Controller/Deck support"
1069	select POWER_SUPPLY
1070	help
1071	Say Y here if you have a Steam Controller or Deck if you want to use it
1072	without running the Steam Client. It supports both the wired and
1073	the wireless adaptor.
1074
1075config STEAM_FF
1076	bool "Steam Deck force feedback support"
1077	depends on HID_STEAM
1078	select INPUT_FF_MEMLESS
1079	help
1080	Say Y here if you want to enable force feedback support for the Steam
1081	Deck.
1082
1083config HID_STEELSERIES
1084	tristate "Steelseries devices support"
1085	depends on USB_HID
1086	help
1087	Support for Steelseries SRW-S1 steering wheel, and the Steelseries
1088	Arctis 1 Wireless for XBox headset.
1089
1090config HID_SUNPLUS
1091	tristate "Sunplus wireless desktop"
1092	help
1093	Support for Sunplus wireless desktop.
1094
1095config HID_RMI
1096	tristate "Synaptics RMI4 device support"
1097	select RMI4_CORE
1098	select RMI4_F03
1099	select RMI4_F11
1100	select RMI4_F12
1101	select RMI4_F30
1102	help
1103	Support for Synaptics RMI4 touchpads.
1104	Say Y here if you have a Synaptics RMI4 touchpads over i2c-hid or usbhid
1105	and want support for its special functionalities.
1106
1107config HID_GREENASIA
1108	tristate "GreenAsia (Product ID 0x12) game controller support"
1109	help
1110	  Say Y here if you have a GreenAsia (Product ID 0x12) based game
1111	  controller or adapter.
1112
1113config GREENASIA_FF
1114	bool "GreenAsia (Product ID 0x12) force feedback support"
1115	depends on HID_GREENASIA
1116	select INPUT_FF_MEMLESS
1117	help
1118	Say Y here if you have a GreenAsia (Product ID 0x12) based game controller
1119	(like MANTA Warrior MM816 and SpeedLink Strike2 SL-6635) or adapter
1120	and want to enable force feedback support for it.
1121
1122config HID_HYPERV_MOUSE
1123	tristate "Microsoft Hyper-V mouse driver"
1124	depends on HYPERV
1125	help
1126	Select this option to enable the Hyper-V mouse driver.
1127
1128config HID_SMARTJOYPLUS
1129	tristate "SmartJoy PLUS PS2/USB adapter support"
1130	help
1131	Support for SmartJoy PLUS PS2/USB adapter, Super Dual Box,
1132	Super Joy Box 3 Pro, Super Dual Box Pro, and Super Joy Box 5 Pro.
1133
1134	Note that DDR (Dance Dance Revolution) mode is not supported, nor
1135	is pressure sensitive buttons on the pro models.
1136
1137config SMARTJOYPLUS_FF
1138	bool "SmartJoy PLUS PS2/USB adapter force feedback support"
1139	depends on HID_SMARTJOYPLUS
1140	select INPUT_FF_MEMLESS
1141	help
1142	Say Y here if you have a SmartJoy PLUS PS2/USB adapter and want to
1143	enable force feedback support for it.
1144
1145config HID_TIVO
1146	tristate "TiVo Slide Bluetooth remote control support"
1147	help
1148	Say Y if you have a TiVo Slide Bluetooth remote control.
1149
1150config HID_TOPSEED
1151	tristate "TopSeed Cyberlink, BTC Emprex, Conceptronic remote control support"
1152	help
1153	Say Y if you have a TopSeed Cyberlink or BTC Emprex or Conceptronic
1154	CLLRCMCE remote control.
1155
1156config HID_TOPRE
1157	tristate "Topre REALFORCE keyboards"
1158	depends on HID
1159	help
1160	  Say Y for N-key rollover support on Topre REALFORCE R2 108/87 key keyboards.
1161
1162config HID_THINGM
1163	tristate "ThingM blink(1) USB RGB LED"
1164	depends on LEDS_CLASS
1165	select HID_LED
1166	help
1167	Support for the ThingM blink(1) USB RGB LED. This driver has been
1168	merged into the generic hid led driver. Config symbol HID_THINGM
1169	just selects HID_LED and will be removed soon.
1170
1171config HID_THRUSTMASTER
1172	tristate "ThrustMaster devices support"
1173	depends on USB_HID
1174	help
1175	  Say Y here if you have a THRUSTMASTER FireStore Dual Power 2,
1176	  a THRUSTMASTER Ferrari GT Rumble Wheel or Thrustmaster FFB
1177	  Wheel (T150RS, T300RS, T300 Ferrari Alcantara Edition, T500RS).
1178
1179config THRUSTMASTER_FF
1180	bool "ThrustMaster devices force feedback support"
1181	depends on HID_THRUSTMASTER
1182	select INPUT_FF_MEMLESS
1183	help
1184	  Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or 3,
1185	  a THRUSTMASTER Dual Trigger 3-in-1 or a THRUSTMASTER Ferrari GT
1186	  Rumble Force or Force Feedback Wheel.
1187
1188config HID_UDRAW_PS3
1189	tristate "THQ PS3 uDraw tablet"
1190	help
1191	  Say Y here if you want to use the THQ uDraw gaming tablet for
1192	  the PS3.
1193
1194config HID_U2FZERO
1195	tristate "U2F Zero LED and RNG support"
1196	depends on USB_HID
1197	depends on LEDS_CLASS
1198	depends on HW_RANDOM
1199	help
1200	  Support for the LED of the U2F Zero device.
1201
1202	  U2F Zero supports custom commands for blinking the LED
1203	  and getting data from the internal hardware RNG.
1204	  The internal hardware can be used to feed the enthropy pool.
1205
1206	  U2F Zero only supports blinking its LED, so this driver doesn't
1207	  allow setting the brightness to anything but 1, which will
1208	  trigger a single blink and immediately reset back to 0.
1209
1210config HID_WACOM
1211	tristate "Wacom Intuos/Graphire tablet support (USB)"
1212	depends on USB_HID
1213	select POWER_SUPPLY
1214	select NEW_LEDS
1215	select LEDS_CLASS
1216	select LEDS_TRIGGERS
1217	help
1218	  Say Y here if you want to use the USB or BT version of the Wacom Intuos
1219	  or Graphire tablet.
1220
1221	  To compile this driver as a module, choose M here: the
1222	  module will be called wacom.
1223
1224config HID_WIIMOTE
1225	tristate "Nintendo Wii / Wii U peripherals"
1226	depends on LEDS_CLASS
1227	select POWER_SUPPLY
1228	select INPUT_FF_MEMLESS
1229	help
1230	Support for Nintendo Wii and Wii U Bluetooth peripherals. Supported
1231	devices are the Wii Remote and its extension devices, but also devices
1232	based on the Wii Remote like the Wii U Pro Controller or the
1233	Wii Balance Board.
1234
1235	Support for all official Nintendo extensions is available, however, 3rd
1236	party extensions might not be supported. Please report these devices to:
1237	  http://github.com/dvdhrm/xwiimote/issues
1238
1239	Other Nintendo Wii U peripherals that are IEEE 802.11 based (including
1240	the Wii U Gamepad) might be supported in the future. But currently
1241	support is limited to Bluetooth based devices.
1242
1243	If unsure, say N.
1244
1245	To compile this driver as a module, choose M here: the
1246	module will be called hid-wiimote.
1247
1248config HID_WINWING
1249	tristate "WinWing Orion2 throttle support"
1250	depends on USB_HID
1251	depends on NEW_LEDS
1252	depends on LEDS_CLASS
1253	help
1254	  Support for WinWing Orion2 throttle base with the following grips:
1255
1256	    * TGRIP-16EX
1257	    * TGRIP-18
1258
1259	  This driver enables all buttons and switches on the throttle base.
1260
1261	  To compile this driver as a module, choose M here: the
1262	  module will be called hid-winwing.
1263
1264config HID_XINMO
1265	tristate "Xin-Mo non-fully compliant devices"
1266	help
1267	Support for Xin-Mo devices that are not fully compliant with the HID
1268	standard. Currently only supports the Xin-Mo Dual Arcade. Say Y here
1269	if you have a Xin-Mo Dual Arcade controller.
1270
1271config HID_ZEROPLUS
1272	tristate "Zeroplus based game controller support"
1273	help
1274	  Say Y here if you have a Zeroplus based game controller.
1275
1276config ZEROPLUS_FF
1277	bool "Zeroplus based game controller force feedback support"
1278	depends on HID_ZEROPLUS
1279	select INPUT_FF_MEMLESS
1280	help
1281	  Say Y here if you have a Zeroplus based game controller and want
1282	  to have force feedback support for it.
1283
1284config HID_ZYDACRON
1285	tristate "Zydacron remote control support"
1286	help
1287	Support for Zydacron remote control.
1288
1289config HID_SENSOR_HUB
1290	tristate "HID Sensors framework support"
1291	depends on HAS_IOMEM
1292	select MFD_CORE
1293	default n
1294	help
1295	  Support for HID Sensor framework. This creates a MFD instance
1296	  for a sensor hub and identifies all the sensors connected to it.
1297	  Each sensor is registered as a MFD cell, so that sensor specific
1298	  processing can be done in a separate driver. Each sensor
1299	  drivers can use the service provided by this driver to register
1300	  for events and handle data streams. Each sensor driver can format
1301	  data and present to user mode using input or IIO interface.
1302
1303config HID_SENSOR_CUSTOM_SENSOR
1304	tristate "HID Sensors hub custom sensor support"
1305	depends on HID_SENSOR_HUB
1306	default n
1307	help
1308	  HID Sensor hub specification allows definition of some custom and
1309	  generic sensors. Unlike other HID sensors, they can't be exported
1310	  via Linux IIO because of custom fields. This is up to the manufacturer
1311	  to decide how to interpret these special sensor ids and process in
1312	  the user space. Currently some manufacturers are using these ids for
1313	  sensor calibration and debugging other sensors. Manufacturers
1314	  shouldn't use these special custom sensor ids to export any of the
1315	  standard sensors.
1316	  Select this config option for custom/generic sensor support.
1317
1318config HID_ALPS
1319	tristate "Alps HID device support"
1320	help
1321	Support for Alps I2C HID touchpads and StickPointer.
1322	Say Y here if you have a Alps touchpads over i2c-hid or usbhid
1323	and want support for its special functionalities.
1324
1325config HID_MCP2200
1326	tristate "Microchip MCP2200 HID USB-to-GPIO bridge"
1327	depends on USB_HID && GPIOLIB
1328	help
1329	  Provides GPIO functionality over USB-HID through MCP2200 device.
1330
1331	  To compile this driver as a module, choose M here: the module
1332	  will be called hid-mcp2200.ko.
1333
1334config HID_MCP2221
1335	tristate "Microchip MCP2221 HID USB-to-I2C/SMbus host support"
1336	depends on USB_HID && I2C
1337	imply GPIOLIB
1338	imply IIO
1339	help
1340	Provides I2C and SMBUS host adapter functionality over USB-HID
1341	through MCP2221 device.
1342
1343	To compile this driver as a module, choose M here: the module
1344	will be called hid-mcp2221.ko.
1345
1346config HID_KUNIT_TEST
1347	tristate "KUnit tests for HID" if !KUNIT_ALL_TESTS
1348	depends on KUNIT
1349	depends on HID_BATTERY_STRENGTH
1350	depends on HID_UCLOGIC
1351	default KUNIT_ALL_TESTS
1352	help
1353	  This builds unit tests for HID. This option is not useful for
1354	  distributions or general kernels, but only for kernel
1355	  developers working on HID and associated drivers.
1356
1357	  For more information on KUnit and unit tests in general,
1358	  please refer to the KUnit documentation in
1359	  Documentation/dev-tools/kunit/.
1360
1361	  If in doubt, say "N".
1362
1363endmenu
1364
1365source "drivers/hid/bpf/Kconfig"
1366
1367endif # HID
1368
1369source "drivers/hid/usbhid/Kconfig"
1370
1371source "drivers/hid/i2c-hid/Kconfig"
1372
1373source "drivers/hid/intel-ish-hid/Kconfig"
1374
1375source "drivers/hid/amd-sfh-hid/Kconfig"
1376
1377source "drivers/hid/surface-hid/Kconfig"
1378
1379endif # HID_SUPPORT
1380