blob: 34ffa0257b4b2cdff83257ffc3407841b405362f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Input device configuration
3#
4
5menu "Input device support"
Heiko Carstensd7222602013-02-13 13:29:01 -08006 depends on !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
Samuel Thibaultf60c8ba2015-03-16 21:19:56 -070028config INPUT_LEDS
29 tristate "Export input device LEDs in sysfs"
30 depends on LEDS_CLASS
31 default INPUT
32 help
33 Say Y here if you would like to export LEDs on input devices
34 as standard LED class devices in sysfs.
35
36 If unsure, say Y.
37
38 To compile this driver as a module, choose M here: the
39 module will be called input-leds.
40
Anssi Hannula7d928a22006-07-19 01:40:30 -040041config INPUT_FF_MEMLESS
42 tristate "Support for memoryless force-feedback devices"
Dmitry Torokhov36203c42009-12-04 10:22:23 -080043 help
Anssi Hannula7d928a22006-07-19 01:40:30 -040044 Say Y here if you have memoryless force-feedback input device
45 such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual
46 Power 2, or similar. You will also need to enable hardware-specific
47 driver.
48
49 If unsure, say N.
50
51 To compile this driver as a module, choose M here: the
52 module will be called ff-memless.
53
Dmitry Torokhov893e7c22007-06-13 01:49:58 -040054config INPUT_POLLDEV
55 tristate "Polled input device skeleton"
56 help
57 Say Y here if you are using a driver for an input
58 device that periodically polls hardware state. This
59 option is only useful for out-of-tree drivers since
60 in-tree drivers select it automatically.
61
62 If unsure, say N.
63
64 To compile this driver as a module, choose M here: the
65 module will be called input-polldev.
66
Dmitry Torokhov36203c42009-12-04 10:22:23 -080067config INPUT_SPARSEKMAP
68 tristate "Sparse keymap support library"
69 help
70 Say Y here if you are using a driver for an input
71 device that uses sparse keymap. This option is only
72 useful for out-of-tree drivers since in-tree drivers
73 select it automatically.
74
75 If unsure, say N.
76
77 To compile this driver as a module, choose M here: the
78 module will be called sparse-keymap.
79
Dmitry Torokhov19328112012-05-10 22:37:08 -070080config INPUT_MATRIXKMAP
81 tristate "Matrix keymap support library"
82 help
83 Say Y here if you are using a driver for an input
84 device that uses matrix keymap. This option is only
85 useful for out-of-tree drivers since in-tree drivers
86 select it automatically.
87
88 If unsure, say N.
89
90 To compile this driver as a module, choose M here: the
91 module will be called matrix-keymap.
92
Linus Torvalds1da177e2005-04-16 15:20:36 -070093comment "Userland interfaces"
94
95config INPUT_MOUSEDEV
Tom Gundersendfaaed082013-10-31 00:44:49 -070096 tristate "Mouse interface"
Linus Torvalds1da177e2005-04-16 15:20:36 -070097 default y
Dmitry Torokhov36203c42009-12-04 10:22:23 -080098 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070099 Say Y here if you want your mouse to be accessible as char devices
100 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
101 emulated IntelliMouse Explorer PS/2 mouse. That way, all user space
102 programs (including SVGAlib, GPM and X) will be able to use your
103 mouse.
104
105 If unsure, say Y.
106
107 To compile this driver as a module, choose M here: the
108 module will be called mousedev.
109
110config INPUT_MOUSEDEV_PSAUX
111 bool "Provide legacy /dev/psaux device"
112 default y
113 depends on INPUT_MOUSEDEV
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800114 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115 Say Y here if you want your mouse also be accessible as char device
116 10:1 - /dev/psaux. The data available through /dev/psaux is exactly
117 the same as the data from /dev/input/mice.
118
119 If unsure, say Y.
120
121
122config INPUT_MOUSEDEV_SCREEN_X
123 int "Horizontal screen resolution"
124 depends on INPUT_MOUSEDEV
125 default "1024"
126 help
127 If you're using a digitizer, or a graphic tablet, and want to use
128 it as a mouse then the mousedev driver needs to know the X window
129 screen resolution you are using to correctly scale the data. If
130 you're not using a digitizer, this value is ignored.
131
132config INPUT_MOUSEDEV_SCREEN_Y
133 int "Vertical screen resolution"
134 depends on INPUT_MOUSEDEV
135 default "768"
136 help
137 If you're using a digitizer, or a graphic tablet, and want to use
138 it as a mouse then the mousedev driver needs to know the X window
139 screen resolution you are using to correctly scale the data. If
140 you're not using a digitizer, this value is ignored.
141
142config INPUT_JOYDEV
143 tristate "Joystick interface"
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800144 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 Say Y here if you want your joystick or gamepad to be
146 accessible as char device 13:0+ - /dev/input/jsX device.
147
148 If unsure, say Y.
149
150 More information is available: <file:Documentation/input/joystick.txt>
151
152 To compile this driver as a module, choose M here: the
153 module will be called joydev.
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155config INPUT_EVDEV
156 tristate "Event interface"
157 help
158 Say Y here if you want your input device events be accessible
159 under char device 13:64+ - /dev/input/eventX in a generic way.
160
161 To compile this driver as a module, choose M here: the
162 module will be called evdev.
163
164config INPUT_EVBUG
165 tristate "Event debugging"
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800166 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167 Say Y here if you have a problem with the input subsystem and
168 want all events (keypresses, mouse movements), to be output to
169 the system log. While this is useful for debugging, it's also
170 a security threat - your keypresses include your passwords, of
171 course.
172
173 If unsure, say N.
174
175 To compile this driver as a module, choose M here: the
176 module will be called evbug.
177
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500178config INPUT_APMPOWER
David Rientjes6a108a12011-01-20 14:44:16 -0800179 tristate "Input Power Event -> APM Bridge" if EXPERT
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500180 depends on INPUT && APM_EMULATION
Dmitry Torokhov36203c42009-12-04 10:22:23 -0800181 help
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500182 Say Y here if you want suspend key events to trigger a user
183 requested suspend through APM. This is useful on embedded
Matt LaPlante692105b2009-01-26 11:12:25 +0100184 systems where such behaviour is desired without userspace
Richard Purdiee17bb1d2008-01-30 16:33:59 -0500185 interaction. If unsure, say N.
186
187 To compile this driver as a module, choose M here: the
188 module will be called apm-power.
189
Arve Hjønnevåg8a7ab852008-11-21 21:47:23 -0800190config INPUT_KEYRESET
Amit Pundir4aa94162015-12-29 12:59:31 +0530191 bool "Reset key"
Arve Hjønnevåg8a7ab852008-11-21 21:47:23 -0800192 depends on INPUT
Daniel Rosenberg850dc2b2014-05-07 14:17:47 -0700193 select INPUT_KEYCOMBO
Arve Hjønnevåg8a7ab852008-11-21 21:47:23 -0800194 ---help---
195 Say Y here if you want to reboot when some keys are pressed;
196
Daniel Rosenberge6b39a82014-05-07 16:52:10 -0700197config INPUT_KEYCOMBO
Amit Pundir4aa94162015-12-29 12:59:31 +0530198 bool "Key combo"
Daniel Rosenberge6b39a82014-05-07 16:52:10 -0700199 depends on INPUT
200 ---help---
201 Say Y here if you want to take action when some keys are pressed;
202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203comment "Input Device Drivers"
204
205source "drivers/input/keyboard/Kconfig"
206
207source "drivers/input/mouse/Kconfig"
208
209source "drivers/input/joystick/Kconfig"
210
Dmitry Torokhov4104d132007-05-07 16:16:29 -0400211source "drivers/input/tablet/Kconfig"
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213source "drivers/input/touchscreen/Kconfig"
214
215source "drivers/input/misc/Kconfig"
216
Andrew Duggan2b6a3212016-03-10 15:35:49 -0800217source "drivers/input/rmi4/Kconfig"
218
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219endif
220
221menu "Hardware I/O ports"
222
223source "drivers/input/serio/Kconfig"
224
225source "drivers/input/gameport/Kconfig"
226
227endmenu
228
229endmenu
230