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