xref: /linux/drivers/hid/Kconfig (revision 5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19)
1#
2# HID driver configuration
3#
4menuconfig HID_SUPPORT
5	bool "HID Devices"
6	depends on INPUT
7	default y
8	---help---
9	  Say Y here to get to see options for various computer-human interface
10	  device drivers. This option alone does not add any kernel code.
11
12	  If you say N, all options in this submenu will be skipped and disabled.
13
14if HID_SUPPORT
15
16config HID
17	tristate "Generic HID support"
18	depends on INPUT
19	default y
20        select HID_A4TECH if !EMBEDDED
21        select HID_APPLE if !EMBEDDED
22        select HID_BELKIN if !EMBEDDED
23        select HID_BRIGHT if !EMBEDDED
24        select HID_CHERRY if !EMBEDDED
25        select HID_CHICONY if !EMBEDDED
26        select HID_CYPRESS if !EMBEDDED
27        select HID_DELL if !EMBEDDED
28        select HID_EZKEY if !EMBEDDED
29        select HID_GYRATION if !EMBEDDED
30        select HID_LOGITECH if !EMBEDDED
31        select HID_MICROSOFT if !EMBEDDED
32        select HID_MONTEREY if !EMBEDDED
33        select HID_PANTHERLORD if !EMBEDDED
34        select HID_PETALYNX if !EMBEDDED
35        select HID_SAMSUNG if !EMBEDDED
36        select HID_SONY if !EMBEDDED
37        select HID_SUNPLUS if !EMBEDDED
38
39	---help---
40	  A human interface device (HID) is a type of computer device that
41	  interacts directly with and takes input from humans. The term "HID"
42	  most commonly used to refer to the USB-HID specification, but other
43	  devices (such as, but not strictly limited to, Bluetooth) are
44	  designed using HID specification (this involves certain keyboards,
45	  mice, tablets, etc). This option compiles into kernel the generic
46	  HID layer code (parser, usages, etc.), which can then be used by
47	  transport-specific HID implementation (like USB or Bluetooth).
48
49	  For docs and specs, see http://www.usb.org/developers/hidpage/
50
51	  If unsure, say Y
52
53config HID_DEBUG
54	bool "HID debugging support"
55	default y if !EMBEDDED
56	depends on HID
57	---help---
58	This option lets the HID layer output diagnostics about its internal
59	state, resolve HID usages, dump HID fields, etc. Individual HID drivers
60	use this debugging facility to output information about individual HID
61	devices, etc.
62
63	This feature is useful for those who are either debugging the HID parser
64	or any HID hardware device.
65
66	If unsure, say N
67
68config HIDRAW
69	bool "/dev/hidraw raw HID device support"
70	depends on HID
71	---help---
72	Say Y here if you want to support HID devices (from the USB
73	specification standpoint) that aren't strictly user interface
74	devices, like monitor controls and Uninterruptable Power Supplies.
75
76	This module supports these devices separately using a separate
77	event interface on /dev/hidraw.
78
79	There is also a /dev/hiddev configuration option in the USB HID
80	configuration menu. In comparison to hiddev, this device does not process
81	the hid events at all (no parsing, no lookups). This lets applications
82	to work on raw hid events when they want to, and avoid using transport-specific
83	userspace libhid/libusb libraries.
84
85	If unsure, say Y.
86
87source "drivers/hid/usbhid/Kconfig"
88
89menu "Special HID drivers"
90	depends on HID
91
92config HID_COMPAT
93	bool "Load all HID drivers on hid core load"
94	default y
95	---help---
96	Compatible option for older userspace. If you have system without udev
97	support of module loading through aliases and also old
98	module-init-tools which can't handle hid bus, choose Y here. Otherwise
99	say N. If you say N and your userspace is old enough, the only
100	functionality you lose is modules autoloading.
101
102	If unsure, say Y.
103
104config HID_A4TECH
105	tristate "A4 tech"
106	default m
107	depends on USB_HID
108	---help---
109	Support for A4 tech X5 and WOP-35 / Trust 450L mice.
110
111config HID_APPLE
112	tristate "Apple"
113	default m
114	depends on (USB_HID || BT_HIDP)
115	---help---
116	Support for some Apple devices which less or more break
117	HID specification.
118
119	Say Y here if you want support for the special keys (Fn, Numlock) on
120	Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
121	keyboards.
122
123	If unsure, say M.
124
125config HID_BELKIN
126	tristate "Belkin"
127	default m
128	depends on USB_HID
129	---help---
130	Support for Belkin Flip KVM and Wireless keyboard.
131
132config HID_BRIGHT
133	tristate "Bright"
134	default m
135	depends on USB_HID
136	---help---
137	Support for Bright ABNT-2 keyboard.
138
139config HID_CHERRY
140	tristate "Cherry"
141	default m
142	depends on USB_HID
143	---help---
144	Support for Cherry Cymotion.
145
146config HID_CHICONY
147	tristate "Chicony"
148	default m
149	depends on USB_HID
150	---help---
151	Support for Chicony Tactical pad.
152
153config HID_CYPRESS
154	tristate "Cypress"
155	default m
156	depends on USB_HID
157	---help---
158	Support for Cypress mouse and barcodes.
159
160config HID_DELL
161	tristate "Dell"
162	default m
163	depends on USB_HID
164	---help---
165	Support for Dell W7658.
166
167config HID_EZKEY
168	tristate "Ezkey"
169	default m
170	depends on USB_HID
171	---help---
172	Support for Ezkey mouse and barcodes.
173
174config HID_GYRATION
175	tristate "Gyration"
176	default m
177	depends on USB_HID
178	---help---
179	Support for Gyration remote.
180
181config HID_LOGITECH
182	tristate "Logitech"
183	default m
184	depends on USB_HID
185	---help---
186	Support for some Logitech devices which breaks less or more
187	HID specification.
188
189config LOGITECH_FF
190	bool "Logitech force feedback"
191	depends on HID_LOGITECH
192	select INPUT_FF_MEMLESS
193	help
194	  Say Y here if you have one of these devices:
195	  - Logitech WingMan Cordless RumblePad
196	  - Logitech WingMan Cordless RumblePad 2
197	  - Logitech WingMan Force 3D
198	  - Logitech Formula Force EX
199	  - Logitech MOMO Force wheel
200
201	  and if you want to enable force feedback for them.
202	  Note: if you say N here, this device will still be supported, but without
203	  force feedback.
204
205config LOGIRUMBLEPAD2_FF
206	bool "Logitech Rumblepad 2 force feedback"
207	depends on HID_LOGITECH
208	select INPUT_FF_MEMLESS
209	help
210	  Say Y here if you want to enable force feedback support for Logitech
211	  Rumblepad 2 devices.
212
213config HID_MICROSOFT
214	tristate "Microsoft"
215	default m
216	depends on USB_HID
217	---help---
218	Support for some Microsoft devices which breaks less or more
219	HID specification.
220
221config HID_MONTEREY
222	tristate "Monterey"
223	default m
224	depends on USB_HID
225	---help---
226	Support for Monterey Genius KB29E.
227
228config HID_PANTHERLORD
229	tristate "Pantherlord devices support"
230	default m
231	depends on USB_HID
232	---help---
233	Support for PantherLord/GreenAsia based device support.
234
235
236config PANTHERLORD_FF
237	bool "Pantherlord force feedback support"
238	depends on HID_PANTHERLORD
239	select INPUT_FF_MEMLESS
240	help
241	  Say Y here if you have a PantherLord/GreenAsia based game controller
242	  or adapter and want to enable force feedback support for it.
243
244config HID_PETALYNX
245	tristate "Petalynx"
246	default m
247	depends on USB_HID
248	---help---
249	Support for Petalynx Maxter remote.
250
251config HID_SAMSUNG
252	tristate "Samsung"
253	default m
254	depends on USB_HID
255	---help---
256	Support for Samsung IR remote.
257
258config HID_SONY
259	tristate "Sony"
260	default m
261	depends on USB_HID
262	---help---
263	Support for Sony PS3 controller.
264
265config HID_SUNPLUS
266	tristate "Sunplus"
267	default m
268	depends on USB_HID
269	---help---
270	Support for Sunplus WDesktop input device.
271
272config THRUSTMASTER_FF
273	tristate "ThrustMaster devices support"
274	default m
275	depends on USB_HID
276	select INPUT_FF_MEMLESS
277	help
278	  Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
279	  a THRUSTMASTER Ferrari GT Rumble Force or Force Feedback Wheel.
280
281config ZEROPLUS_FF
282	tristate "Zeroplus based game controller support"
283	default m
284	depends on USB_HID
285	select INPUT_FF_MEMLESS
286	help
287	  Say Y here if you have a Zeroplus based game controller.
288
289endmenu
290
291endif # HID_SUPPORT
292