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