Kconfig 6.04 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds's avatar
Linus Torvalds committed
2 3 4 5 6 7 8
#
# Input device configuration
#

menu "Input device support"

config INPUT
9
	tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
Linus Torvalds's avatar
Linus Torvalds committed
10
	default y
11
	help
Linus Torvalds's avatar
Linus Torvalds committed
12 13 14 15 16 17 18
	  Say Y here if you have any input device (mouse, keyboard, tablet,
	  joystick, steering wheel ...) connected to your system and want
	  it to be available to applications. This includes standard PS/2
	  keyboard and mouse.

	  Say N here if you have a headless (no monitor, no keyboard) system.

19
	  More information is available: <file:Documentation/input/input.rst>
Linus Torvalds's avatar
Linus Torvalds committed
20 21 22 23 24 25 26 27

	  If unsure, say Y.

	  To compile this driver as a module, choose M here: the
	  module will be called input.

if INPUT

28 29 30 31 32 33 34 35 36 37 38 39 40
config INPUT_LEDS
	tristate "Export input device LEDs in sysfs"
	depends on LEDS_CLASS
	default INPUT
	help
	  Say Y here if you would like to export LEDs on input devices
	  as standard LED class devices in sysfs.

	  If unsure, say Y.

	  To compile this driver as a module, choose M here: the
	  module will be called input-leds.

41 42
config INPUT_FF_MEMLESS
	tristate "Support for memoryless force-feedback devices"
43
	help
44 45 46 47 48 49 50 51 52 53
	  Say Y here if you have memoryless force-feedback input device
	  such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual
	  Power 2, or similar. You will also need to enable hardware-specific
	  driver.

	  If unsure, say N.

	  To compile this driver as a module, choose M here: the
	  module will be called ff-memless.

54 55 56 57 58 59 60 61 62 63 64 65 66
config INPUT_SPARSEKMAP
	tristate "Sparse keymap support library"
	help
	  Say Y here if you are using a driver for an input
	  device that uses sparse keymap. This option is only
	  useful for out-of-tree drivers since in-tree drivers
	  select it automatically.

	  If unsure, say N.

	  To compile this driver as a module, choose M here: the
	  module will be called sparse-keymap.

67 68 69 70 71 72 73 74 75 76 77 78 79
config INPUT_MATRIXKMAP
	tristate "Matrix keymap support library"
	help
	  Say Y here if you are using a driver for an input
	  device that uses matrix keymap. This option is only
	  useful for out-of-tree drivers since in-tree drivers
	  select it automatically.

	  If unsure, say N.

	  To compile this driver as a module, choose M here: the
	  module will be called matrix-keymap.

80 81 82 83 84 85 86
config INPUT_VIVALDIFMAP
	tristate
	help
	  ChromeOS Vivaldi keymap support library. This is a hidden
	  option so that drivers can use common code to parse and
	  expose the vivaldi function row keymap.

Linus Torvalds's avatar
Linus Torvalds committed
87 88 89
comment "Userland interfaces"

config INPUT_MOUSEDEV
90
	tristate "Mouse interface"
91
	help
Linus Torvalds's avatar
Linus Torvalds committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105
	  Say Y here if you want your mouse to be accessible as char devices
	  13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
	  emulated IntelliMouse Explorer PS/2 mouse. That way, all user space
	  programs (including SVGAlib, GPM and X) will be able to use your
	  mouse.

	  If unsure, say Y.

	  To compile this driver as a module, choose M here: the
	  module will be called mousedev.

config INPUT_MOUSEDEV_PSAUX
	bool "Provide legacy /dev/psaux device"
	depends on INPUT_MOUSEDEV
106
	help
Linus Torvalds's avatar
Linus Torvalds committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
	  Say Y here if you want your mouse also be accessible as char device
	  10:1 - /dev/psaux. The data available through /dev/psaux is exactly
	  the same as the data from /dev/input/mice.

	  If unsure, say Y.

config INPUT_MOUSEDEV_SCREEN_X
	int "Horizontal screen resolution"
	depends on INPUT_MOUSEDEV
	default "1024"
	help
	  If you're using a digitizer, or a graphic tablet, and want to use
	  it as a mouse then the mousedev driver needs to know the X window
	  screen resolution you are using to correctly scale the data. If
	  you're not using a digitizer, this value is ignored.

config INPUT_MOUSEDEV_SCREEN_Y
	int "Vertical screen resolution"
	depends on INPUT_MOUSEDEV
	default "768"
	help
	  If you're using a digitizer, or a graphic tablet, and want to use
	  it as a mouse then the mousedev driver needs to know the X window
	  screen resolution you are using to correctly scale the data. If
	  you're not using a digitizer, this value is ignored.

config INPUT_JOYDEV
	tristate "Joystick interface"
135
	help
Linus Torvalds's avatar
Linus Torvalds committed
136 137 138 139 140
	  Say Y here if you want your joystick or gamepad to be
	  accessible as char device 13:0+ - /dev/input/jsX device.

	  If unsure, say Y.

141
	  More information is available: <file:Documentation/input/joydev/joystick.rst>
Linus Torvalds's avatar
Linus Torvalds committed
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156

	  To compile this driver as a module, choose M here: the
	  module will be called joydev.

config INPUT_EVDEV
	tristate "Event interface"
	help
	  Say Y here if you want your input device events be accessible
	  under char device 13:64+ - /dev/input/eventX in a generic way.

	  To compile this driver as a module, choose M here: the
	  module will be called evdev.

config INPUT_EVBUG
	tristate "Event debugging"
157
	help
Linus Torvalds's avatar
Linus Torvalds committed
158 159 160 161 162 163 164 165 166 167 168
	  Say Y here if you have a problem with the input subsystem and
	  want all events (keypresses, mouse movements), to be output to
	  the system log. While this is useful for debugging, it's also
	  a security threat - your keypresses include your passwords, of
	  course.

	  If unsure, say N.

	  To compile this driver as a module, choose M here: the
	  module will be called evbug.

169 170 171 172 173 174 175 176 177 178
config INPUT_KUNIT_TEST
	tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS
	depends on INPUT && KUNIT=y
	default KUNIT_ALL_TESTS
	help
	  Say Y here if you want to build the KUnit tests for the input
	  subsystem.

	  If in doubt, say "N".

179
config INPUT_APMPOWER
180
	tristate "Input Power Event -> APM Bridge" if EXPERT
181
	depends on INPUT && APM_EMULATION
182
	help
183 184
	  Say Y here if you want suspend key events to trigger a user
	  requested suspend through APM. This is useful on embedded
185
	  systems where such behaviour is desired without userspace
186 187 188 189 190
	  interaction. If unsure, say N.

	  To compile this driver as a module, choose M here: the
	  module will be called apm-power.

Linus Torvalds's avatar
Linus Torvalds committed
191 192 193 194 195 196 197 198
comment "Input Device Drivers"

source "drivers/input/keyboard/Kconfig"

source "drivers/input/mouse/Kconfig"

source "drivers/input/joystick/Kconfig"

199 200
source "drivers/input/tablet/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
201 202 203 204
source "drivers/input/touchscreen/Kconfig"

source "drivers/input/misc/Kconfig"

205 206
source "drivers/input/rmi4/Kconfig"

Linus Torvalds's avatar
Linus Torvalds committed
207 208 209 210 211 212 213 214 215 216 217 218
endif

menu "Hardware I/O ports"

source "drivers/input/serio/Kconfig"

source "drivers/input/gameport/Kconfig"

endmenu

endmenu