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