blob: 2c66a8cb2b8e640341766895a8df1bc43aa09ca0 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#
2# Input device configuration
3#
4
5menu "Input device support"
6 depends on !S390 && !UML
7
8config INPUT
9 tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
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
26if INPUT
27
28config INPUT_OF_MATRIX_KEYMAP
29 depends on USE_OF
30 bool
31
32config INPUT_FF_MEMLESS
33 tristate "Support for memoryless force-feedback devices"
34 help
35 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
45config 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
58config 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
71comment "Userland interfaces"
72
73config INPUT_MOUSEDEV
74 tristate "Mouse interface"
75 default y
76 help
77 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
92 help
93 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"
122 help
123 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
133config 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"
144 help
145 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
156config INPUT_APMPOWER
157 tristate "Input Power Event -> APM Bridge" if EXPERT
158 depends on INPUT && APM_EMULATION
159 help
160 Say Y here if you want suspend key events to trigger a user
161 requested suspend through APM. This is useful on embedded
162 systems where such behaviour is desired without userspace
163 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
168config INPUT_KEYRESET
169 tristate "Reset key"
170 depends on INPUT
171 ---help---
172 Say Y here if you want to reboot when some keys are pressed;
173
174 To compile this driver as a module, choose M here: the
175 module will be called keyreset.
176
177comment "Input Device Drivers"
178
179source "drivers/input/keyboard/Kconfig"
180
181source "drivers/input/mouse/Kconfig"
182
183source "drivers/input/joystick/Kconfig"
184
185source "drivers/input/tablet/Kconfig"
186
187source "drivers/input/touchscreen/Kconfig"
188
189source "drivers/input/misc/Kconfig"
190
191endif
192
193menu "Hardware I/O ports"
194
195source "drivers/input/serio/Kconfig"
196
197source "drivers/input/gameport/Kconfig"
198
199endmenu
200
201endmenu
202