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