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