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