Kconfig 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "USB HID support"
  3. depends on USB
  4. config USB_HID
  5. tristate "USB HID transport layer"
  6. default y
  7. depends on USB && INPUT
  8. select HID
  9. help
  10. Say Y here if you want to connect USB keyboards,
  11. mice, joysticks, graphic tablets, or any other HID based devices
  12. to your computer via USB, as well as Uninterruptible Power Supply
  13. (UPS) and monitor control devices.
  14. You can't use this driver and the HIDBP (Boot Protocol) keyboard
  15. and mouse drivers at the same time. More information is available:
  16. <file:Documentation/input/input.rst>.
  17. If unsure, say Y.
  18. To compile this driver as a module, choose M here: the
  19. module will be called usbhid.
  20. comment "Input core support is needed for USB HID input layer or HIDBP support"
  21. depends on USB_HID && INPUT=n
  22. config HID_PID
  23. bool "PID device support"
  24. help
  25. Say Y here if you have a PID-compliant device and wish to enable force
  26. feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such
  27. devices.
  28. config USB_HIDDEV
  29. bool "/dev/hiddev raw HID device support"
  30. depends on USB_HID
  31. help
  32. Say Y here if you want to support HID devices (from the USB
  33. specification standpoint) that aren't strictly user interface
  34. devices, like monitor controls and Uninterruptible Power Supplies.
  35. This module supports these devices separately using a separate
  36. event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
  37. If unsure, say Y.
  38. menu "USB HID Boot Protocol drivers"
  39. depends on USB!=n && USB_HID!=y && EXPERT
  40. config USB_KBD
  41. tristate "USB HIDBP Keyboard (simple Boot) support"
  42. depends on USB && INPUT
  43. help
  44. Say Y here only if you are absolutely sure that you don't want
  45. to use the generic HID driver for your USB keyboard and prefer
  46. to use the keyboard in its limited Boot Protocol mode instead.
  47. This is almost certainly not what you want. This is mostly
  48. useful for embedded applications or simple keyboards.
  49. To compile this driver as a module, choose M here: the
  50. module will be called usbkbd.
  51. If even remotely unsure, say N.
  52. config USB_MOUSE
  53. tristate "USB HIDBP Mouse (simple Boot) support"
  54. depends on USB && INPUT
  55. help
  56. Say Y here only if you are absolutely sure that you don't want
  57. to use the generic HID driver for your USB mouse and prefer
  58. to use the mouse in its limited Boot Protocol mode instead.
  59. This is almost certainly not what you want. This is mostly
  60. useful for embedded applications or simple mice.
  61. To compile this driver as a module, choose M here: the
  62. module will be called usbmouse.
  63. If even remotely unsure, say N.
  64. endmenu
  65. endmenu