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