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