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