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