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