Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Input device configuration |
| 3 | # |
| 4 | |
| 5 | menu "Input device support" |
Heiko Carstens | d722260 | 2013-02-13 13:29:01 -0800 | [diff] [blame] | 6 | depends on !UML |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | config INPUT |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 9 | tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | default y |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 11 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 26 | if INPUT |
| 27 | |
Samuel Thibault | f60c8ba | 2015-03-16 21:19:56 -0700 | [diff] [blame] | 28 | config 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 Hannula | 7d928a2 | 2006-07-19 01:40:30 -0400 | [diff] [blame] | 41 | config INPUT_FF_MEMLESS |
| 42 | tristate "Support for memoryless force-feedback devices" |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 43 | help |
Anssi Hannula | 7d928a2 | 2006-07-19 01:40:30 -0400 | [diff] [blame] | 44 | 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 Torokhov | 893e7c2 | 2007-06-13 01:49:58 -0400 | [diff] [blame] | 54 | config 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 Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 67 | config 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 Torokhov | 1932811 | 2012-05-10 22:37:08 -0700 | [diff] [blame] | 80 | config 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | comment "Userland interfaces" |
| 94 | |
| 95 | config INPUT_MOUSEDEV |
Tom Gundersen | dfaaed08 | 2013-10-31 00:44:49 -0700 | [diff] [blame] | 96 | tristate "Mouse interface" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | default y |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 98 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | 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 | |
| 110 | config INPUT_MOUSEDEV_PSAUX |
| 111 | bool "Provide legacy /dev/psaux device" |
| 112 | default y |
| 113 | depends on INPUT_MOUSEDEV |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 114 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 115 | 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 | |
| 122 | config 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 | |
| 132 | config 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 | |
| 142 | config INPUT_JOYDEV |
| 143 | tristate "Joystick interface" |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 144 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 145 | 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 155 | config 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 | |
| 164 | config INPUT_EVBUG |
| 165 | tristate "Event debugging" |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 166 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 167 | 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 Purdie | e17bb1d | 2008-01-30 16:33:59 -0500 | [diff] [blame] | 178 | config INPUT_APMPOWER |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 179 | tristate "Input Power Event -> APM Bridge" if EXPERT |
Richard Purdie | e17bb1d | 2008-01-30 16:33:59 -0500 | [diff] [blame] | 180 | depends on INPUT && APM_EMULATION |
Dmitry Torokhov | 36203c4 | 2009-12-04 10:22:23 -0800 | [diff] [blame] | 181 | help |
Richard Purdie | e17bb1d | 2008-01-30 16:33:59 -0500 | [diff] [blame] | 182 | Say Y here if you want suspend key events to trigger a user |
| 183 | requested suspend through APM. This is useful on embedded |
Matt LaPlante | 692105b | 2009-01-26 11:12:25 +0100 | [diff] [blame] | 184 | systems where such behaviour is desired without userspace |
Richard Purdie | e17bb1d | 2008-01-30 16:33:59 -0500 | [diff] [blame] | 185 | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | comment "Input Device Drivers" |
| 191 | |
| 192 | source "drivers/input/keyboard/Kconfig" |
| 193 | |
| 194 | source "drivers/input/mouse/Kconfig" |
| 195 | |
| 196 | source "drivers/input/joystick/Kconfig" |
| 197 | |
Dmitry Torokhov | 4104d13 | 2007-05-07 16:16:29 -0400 | [diff] [blame] | 198 | source "drivers/input/tablet/Kconfig" |
| 199 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 200 | source "drivers/input/touchscreen/Kconfig" |
| 201 | |
| 202 | source "drivers/input/misc/Kconfig" |
| 203 | |
| 204 | endif |
| 205 | |
| 206 | menu "Hardware I/O ports" |
| 207 | |
| 208 | source "drivers/input/serio/Kconfig" |
| 209 | |
| 210 | source "drivers/input/gameport/Kconfig" |
| 211 | |
| 212 | endmenu |
| 213 | |
| 214 | endmenu |
| 215 | |