blob: 332597980817d4d97165f7172c7ebd4bc494a7a2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Input device configuration
3#
4
5menu "Input device support"
Al Viro33694652011-08-18 20:11:59 +01006 depends on !S390 && !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8config INPUT
David Rientjes6a108a12011-01-20 14:44:16 -08009 tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 default y
Dmitry Torokhov36203c42009-12-04 10:22:23 -080011 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 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
26if INPUT
27
Olof Johansson2cd36872012-03-13 21:35:51 -070028config INPUT_OF_MATRIX_KEYMAP
29 depends on USE_OF
30 bool
31
Anssi Hannula7d928a22006-07-19 01:40:30 -040032config INPUT_FF_MEMLESS
33 tristate "Support for memoryless force-feedback devices"
Dmitry Torokhov36203c42009-12-04 10:22:23 -080034 help
Anssi Hannula7d928a22006-07-19 01:40:30 -040035 Say Y here if you have memoryless force-feedback input device
36 such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual
37 Power 2, or similar. You will also need to enable hardware-specific
38 driver.
39
40 If unsure, say N.
41
42 To compile this driver as a module, choose M here: the
43 module will be called ff-memless.
44
Dmitry Torokhov893e7c22007-06-13 01:49:58 -040045config INPUT_POLLDEV
46 tristate "Polled input device skeleton"
47 help
48 Say Y here if you are using a driver for an input
49 device that periodically polls hardware state. This
50 option is only useful for out-of-tree drivers since
51 in-tree drivers select it automatically.
52
53 If unsure, say N.
54
55 To compile this driver as a module, choose M here: the
56 module will be called input-polldev.
57
Dmitry Torokhov36203c42009-12-04 10:22:23 -080058config INPUT_SPARSEKMAP
59 tristate "Sparse keymap support library"
60 help
61 Say Y here if you are using a driver for an input
62 device that uses sparse keymap. This option is only
63 useful for out-of-tree drivers since in-tree drivers
64 select it automatically.
65
66 If unsure, say N.
67
68 To compile this driver as a module, choose M here: the
69 module will be called sparse-keymap.
70
Linus Torvalds1da177e2005-04-16 15:20:36 -070071comment "Userland interfaces"
72
73config INPUT_MOUSEDEV
David Rientjes6a108a12011-01-20 14:44:16 -080074 tristate "Mouse interface" if EXPERT
Linus Torvalds1da177e2005-04-16 15:20:36 -070075 default y
Dmitry Torokhov36203c42009-12-04 10:22:23 -080076 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070077 Say Y here if you want your mouse to be accessible as char devices
78 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
79 emulated IntelliMouse Explorer PS/2 mouse. That way, all user space
80 programs (including SVGAlib, GPM and X) will be able to use your
81 mouse.
82
83 If unsure, say Y.
84
85 To compile this driver as a module, choose M here: the
86 module will be called mousedev.
87
88config INPUT_MOUSEDEV_PSAUX
89 bool "Provide legacy /dev/psaux device"
90 default y
91 depends on INPUT_MOUSEDEV
Dmitry Torokhov36203c42009-12-04 10:22:23 -080092 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 Say Y here if you want your mouse also be accessible as char device
94 10:1 - /dev/psaux. The data available through /dev/psaux is exactly
95 the same as the data from /dev/input/mice.
96
97 If unsure, say Y.
98
99
100config INPUT_MOUSEDEV_SCREEN_X
101 int "Horizontal screen resolution"
102 depends on INPUT_MOUSEDEV
103 default "1024"
104 help
105 If you're using a digitizer, or a graphic tablet, and want to use
106 it as a mouse then the mousedev driver needs to know the X window
107 screen resolution you are using to correctly scale the data. If
108 you're not using a digitizer, this value is ignored.
109
110config INPUT_MOUSEDEV_SCREEN_Y
111 int "Vertical screen resolution"
112 depends on INPUT_MOUSEDEV
113 default "768"
114 help
115 If you're using a digitizer, or a graphic tablet, and want to use
116 it as a mouse then the mousedev driver needs to know the X window
117 screen resolution you are using to correctly scale the data. If
118 you're not using a digitizer, this value is ignored.
119
120config INPUT_JOYDEV
121 tristate "Joystick interface"
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800122 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 Say Y here if you want your joystick or gamepad to be
124 accessible as char device 13:0+ - /dev/input/jsX device.
125
126 If unsure, say Y.
127
128 More information is available: <file:Documentation/input/joystick.txt>
129
130 To compile this driver as a module, choose M here: the
131 module will be called joydev.
132
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133config INPUT_EVDEV
134 tristate "Event interface"
135 help
136 Say Y here if you want your input device events be accessible
137 under char device 13:64+ - /dev/input/eventX in a generic way.
138
139 To compile this driver as a module, choose M here: the
140 module will be called evdev.
141
142config INPUT_EVBUG
143 tristate "Event debugging"
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800144 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 Say Y here if you have a problem with the input subsystem and
146 want all events (keypresses, mouse movements), to be output to
147 the system log. While this is useful for debugging, it's also
148 a security threat - your keypresses include your passwords, of
149 course.
150
151 If unsure, say N.
152
153 To compile this driver as a module, choose M here: the
154 module will be called evbug.
155
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500156config INPUT_APMPOWER
David Rientjes6a108a12011-01-20 14:44:16 -0800157 tristate "Input Power Event -> APM Bridge" if EXPERT
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500158 depends on INPUT && APM_EMULATION
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800159 help
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500160 Say Y here if you want suspend key events to trigger a user
161 requested suspend through APM. This is useful on embedded
Matt LaPlante692105b2009-01-26 11:12:25 +0100162 systems where such behaviour is desired without userspace
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500163 interaction. If unsure, say N.
164
165 To compile this driver as a module, choose M here: the
166 module will be called apm-power.
167
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168comment "Input Device Drivers"
169
170source "drivers/input/keyboard/Kconfig"
171
172source "drivers/input/mouse/Kconfig"
173
174source "drivers/input/joystick/Kconfig"
175
Dmitry Torokhov4104d132007-05-07 16:16:29 -0400176source "drivers/input/tablet/Kconfig"
177
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178source "drivers/input/touchscreen/Kconfig"
179
180source "drivers/input/misc/Kconfig"
181
182endif
183
184menu "Hardware I/O ports"
185
186source "drivers/input/serio/Kconfig"
187
188source "drivers/input/gameport/Kconfig"
189
190endmenu
191
192endmenu
193