Merge remote branch 'linux-2.6.32.y/master' into develop
[firefly-linux-kernel-4.4.55.git] / drivers / input / Kconfig
1 #
2 # Input device configuration
3 #
4
5 menu "Input device support"
6         depends on !S390
7
8 config INPUT
9         tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED
10         default y
11         ---help---
12           Say Y here if you have any input device (mouse, keyboard, tablet,
13           joystick, steering wheel ...) connected to your system and want
14           it to be available to applications. This includes standard PS/2
15           keyboard and mouse.
16
17           Say N here if you have a headless (no monitor, no keyboard) system.
18
19           More information is available: <file:Documentation/input/input.txt>
20
21           If unsure, say Y.
22
23           To compile this driver as a module, choose M here: the
24           module will be called input.
25
26 if INPUT
27
28 config INPUT_FF_MEMLESS
29         tristate "Support for memoryless force-feedback devices"
30         default n
31         ---help---
32           Say Y here if you have memoryless force-feedback input device
33           such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual
34           Power 2, or similar. You will also need to enable hardware-specific
35           driver.
36
37           If unsure, say N.
38
39           To compile this driver as a module, choose M here: the
40           module will be called ff-memless.
41
42 config INPUT_POLLDEV
43         tristate "Polled input device skeleton"
44         help
45           Say Y here if you are using a driver for an input
46           device that periodically polls hardware state. This
47           option is only useful for out-of-tree drivers since
48           in-tree drivers select it automatically.
49
50           If unsure, say N.
51
52           To compile this driver as a module, choose M here: the
53           module will be called input-polldev.
54
55 comment "Userland interfaces"
56
57 config INPUT_MOUSEDEV
58         tristate "Mouse interface" if EMBEDDED
59         default y
60         ---help---
61           Say Y here if you want your mouse to be accessible as char devices
62           13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
63           emulated IntelliMouse Explorer PS/2 mouse. That way, all user space
64           programs (including SVGAlib, GPM and X) will be able to use your
65           mouse.
66
67           If unsure, say Y.
68
69           To compile this driver as a module, choose M here: the
70           module will be called mousedev.
71
72 config INPUT_MOUSEDEV_PSAUX
73         bool "Provide legacy /dev/psaux device"
74         default y
75         depends on INPUT_MOUSEDEV
76         ---help---
77           Say Y here if you want your mouse also be accessible as char device
78           10:1 - /dev/psaux. The data available through /dev/psaux is exactly
79           the same as the data from /dev/input/mice.
80
81           If unsure, say Y.
82
83
84 config INPUT_MOUSEDEV_SCREEN_X
85         int "Horizontal screen resolution"
86         depends on INPUT_MOUSEDEV
87         default "1024"
88         help
89           If you're using a digitizer, or a graphic tablet, and want to use
90           it as a mouse then the mousedev driver needs to know the X window
91           screen resolution you are using to correctly scale the data. If
92           you're not using a digitizer, this value is ignored.
93
94 config INPUT_MOUSEDEV_SCREEN_Y
95         int "Vertical screen resolution"
96         depends on INPUT_MOUSEDEV
97         default "768"
98         help
99           If you're using a digitizer, or a graphic tablet, and want to use
100           it as a mouse then the mousedev driver needs to know the X window
101           screen resolution you are using to correctly scale the data. If
102           you're not using a digitizer, this value is ignored.
103
104 config INPUT_JOYDEV
105         tristate "Joystick interface"
106         ---help---
107           Say Y here if you want your joystick or gamepad to be
108           accessible as char device 13:0+ - /dev/input/jsX device.
109
110           If unsure, say Y.
111
112           More information is available: <file:Documentation/input/joystick.txt>
113
114           To compile this driver as a module, choose M here: the
115           module will be called joydev.
116
117 config INPUT_EVDEV
118         tristate "Event interface"
119         help
120           Say Y here if you want your input device events be accessible
121           under char device 13:64+ - /dev/input/eventX in a generic way.
122
123           To compile this driver as a module, choose M here: the
124           module will be called evdev.
125
126 config INPUT_EVBUG
127         tristate "Event debugging"
128         ---help---
129           Say Y here if you have a problem with the input subsystem and
130           want all events (keypresses, mouse movements), to be output to
131           the system log. While this is useful for debugging, it's also
132           a security threat - your keypresses include your passwords, of
133           course.
134
135           If unsure, say N.
136
137           To compile this driver as a module, choose M here: the
138           module will be called evbug.
139
140 config INPUT_APMPOWER
141         tristate "Input Power Event -> APM Bridge" if EMBEDDED
142         depends on INPUT && APM_EMULATION
143         ---help---
144           Say Y here if you want suspend key events to trigger a user
145           requested suspend through APM. This is useful on embedded
146           systems where such behaviour is desired without userspace
147           interaction. If unsure, say N.
148
149           To compile this driver as a module, choose M here: the
150           module will be called apm-power.
151
152 config INPUT_KEYRESET
153         tristate "Reset key"
154         depends on INPUT
155         ---help---
156           Say Y here if you want to reboot when some keys are pressed;
157
158           To compile this driver as a module, choose M here: the
159           module will be called keyreset.
160
161 config XEN_KBDDEV_FRONTEND
162         tristate "Xen virtual keyboard and mouse support"
163         depends on XEN_FBDEV_FRONTEND
164         default y
165         help
166           This driver implements the front-end of the Xen virtual
167           keyboard and mouse device driver.  It communicates with a back-end
168           in another domain.
169
170 comment "Input Device Drivers"
171
172 source "drivers/input/keyboard/Kconfig"
173
174 source "drivers/input/mouse/Kconfig"
175
176 source "drivers/input/joystick/Kconfig"
177
178 source "drivers/input/tablet/Kconfig"
179
180 source "drivers/input/touchscreen/Kconfig"
181
182 source "drivers/input/misc/Kconfig"
183
184 source "drivers/input/gsensor/Kconfig"
185
186 source "drivers/input/jogball/Kconfig"
187
188 endif
189
190 menu "Hardware I/O ports"
191
192 source "drivers/input/serio/Kconfig"
193
194 source "drivers/input/gameport/Kconfig"
195
196 endmenu
197
198 endmenu
199