]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/hid/Kconfig
HID: indent switches/cases
[mirror_ubuntu-artful-kernel.git] / drivers / hid / Kconfig
CommitLineData
63f3861d
JK
1#
2# HID driver configuration
3#
3cd70986
JE
4menuconfig HID_SUPPORT
5 bool "HID Devices"
63f3861d 6 depends on INPUT
3cd70986 7 default y
06bfb7eb
JE
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.
3cd70986
JE
13
14if HID_SUPPORT
63f3861d
JK
15
16config HID
17 tristate "Generic HID support"
c96c9d7b 18 depends on INPUT
63f3861d
JK
19 default y
20 ---help---
69e4d948
JK
21 A human interface device (HID) is a type of computer device that
22 interacts directly with and takes input from humans. The term "HID"
23 most commonly used to refer to the USB-HID specification, but other
24 devices (such as, but not strictly limited to, Bluetooth) are
25 designed using HID specification (this involves certain keyboards,
26 mice, tablets, etc). This option compiles into kernel the generic
27 HID layer code (parser, usages, etc.), which can then be used by
28 transport-specific HID implementation (like USB or Bluetooth).
29
30 For docs and specs, see http://www.usb.org/developers/hidpage/
31
32 If unsure, say Y
63f3861d 33
c080d89a
JK
34config HID_DEBUG
35 bool "HID debugging support"
58037eb9 36 default y if !EMBEDDED
c080d89a
JK
37 depends on HID
38 ---help---
39 This option lets the HID layer output diagnostics about its internal
40 state, resolve HID usages, dump HID fields, etc. Individual HID drivers
41 use this debugging facility to output information about individual HID
42 devices, etc.
43
44 This feature is useful for those who are either debugging the HID parser
45 or any HID hardware device.
46
47 If unsure, say N
48
86166b7b
JK
49config HIDRAW
50 bool "/dev/hidraw raw HID device support"
51 depends on HID
52 ---help---
53 Say Y here if you want to support HID devices (from the USB
54 specification standpoint) that aren't strictly user interface
55 devices, like monitor controls and Uninterruptable Power Supplies.
56
57 This module supports these devices separately using a separate
58 event interface on /dev/hidraw.
59
60 There is also a /dev/hiddev configuration option in the USB HID
61 configuration menu. In comparison to hiddev, this device does not process
62 the hid events at all (no parsing, no lookups). This lets applications
63 to work on raw hid events when they want to, and avoid using transport-specific
64 userspace libhid/libusb libraries.
65
66 If unsure, say Y.
67
6db3dfef
JK
68source "drivers/hid/usbhid/Kconfig"
69
5f22a799
JS
70menu "Special HID drivers"
71 depends on HID
72
02ae9a1a
JS
73config HID_COMPAT
74 bool "Load all HID drivers on hid core load"
75 default y
76 ---help---
77 Compatible option for older userspace. If you have system without udev
78 support of module loading through aliases and also old
79 module-init-tools which can't handle hid bus, choose Y here. Otherwise
80 say N. If you say N and your userspace is old enough, the only
81 functionality you loose is modules autoloading.
82
83 If unsure, say Y.
84
8c19a515
JS
85config HID_APPLE
86 tristate "Apple"
87 default m
88 depends on (USB_HID || BT_HIDP)
89 ---help---
90 Support for some Apple devices which less or more break
91 HID specification.
92
93 Say Y here if you want support for the special keys (Fn, Numlock) on
94 Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
95 keyboards.
96
97 If unsure, say M.
98
5f22a799
JS
99config HID_LOGITECH
100 tristate "Logitech"
101 default m
102 depends on USB_HID
103 ---help---
104 Support for some Logitech devices which breaks less or more
105 HID specification.
106
107endmenu
108
3cd70986 109endif # HID_SUPPORT