diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-04 13:22:23 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-12-07 12:26:35 -0500 |
commit | 36203c4f3d091b5f6c082663bd1f74273798043a (patch) | |
tree | bf5b6efee8f15aae253155263038ac538f7482e9 /drivers/input/Kconfig | |
parent | 6a47081c37b7dd7810ce19e156c1a3bf11987e9a (diff) |
Input: add generic support for sparse keymaps
More and more devices choose to reimplement support for sparse keymaps
first introduced by wistron driver. Move it into a library module so it
can be easily used by interested parties.
Reviewed-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r-- | drivers/input/Kconfig | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index cd50c00ab20f..50af91ebd075 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig | |||
@@ -8,7 +8,7 @@ menu "Input device support" | |||
8 | config INPUT | 8 | config INPUT |
9 | tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED | 9 | tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED |
10 | default y | 10 | default y |
11 | ---help--- | 11 | help |
12 | Say Y here if you have any input device (mouse, keyboard, tablet, | 12 | Say Y here if you have any input device (mouse, keyboard, tablet, |
13 | joystick, steering wheel ...) connected to your system and want | 13 | joystick, steering wheel ...) connected to your system and want |
14 | it to be available to applications. This includes standard PS/2 | 14 | it to be available to applications. This includes standard PS/2 |
@@ -27,8 +27,7 @@ if INPUT | |||
27 | 27 | ||
28 | config INPUT_FF_MEMLESS | 28 | config INPUT_FF_MEMLESS |
29 | tristate "Support for memoryless force-feedback devices" | 29 | tristate "Support for memoryless force-feedback devices" |
30 | default n | 30 | help |
31 | ---help--- | ||
32 | Say Y here if you have memoryless force-feedback input device | 31 | Say Y here if you have memoryless force-feedback input device |
33 | such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual | 32 | such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual |
34 | Power 2, or similar. You will also need to enable hardware-specific | 33 | Power 2, or similar. You will also need to enable hardware-specific |
@@ -52,12 +51,25 @@ config INPUT_POLLDEV | |||
52 | To compile this driver as a module, choose M here: the | 51 | To compile this driver as a module, choose M here: the |
53 | module will be called input-polldev. | 52 | module will be called input-polldev. |
54 | 53 | ||
54 | config INPUT_SPARSEKMAP | ||
55 | tristate "Sparse keymap support library" | ||
56 | help | ||
57 | Say Y here if you are using a driver for an input | ||
58 | device that uses sparse keymap. This option is only | ||
59 | useful for out-of-tree drivers since in-tree drivers | ||
60 | 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 sparse-keymap. | ||
66 | |||
55 | comment "Userland interfaces" | 67 | comment "Userland interfaces" |
56 | 68 | ||
57 | config INPUT_MOUSEDEV | 69 | config INPUT_MOUSEDEV |
58 | tristate "Mouse interface" if EMBEDDED | 70 | tristate "Mouse interface" if EMBEDDED |
59 | default y | 71 | default y |
60 | ---help--- | 72 | help |
61 | Say Y here if you want your mouse to be accessible as char devices | 73 | Say Y here if you want your mouse to be accessible as char devices |
62 | 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an | 74 | 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an |
63 | emulated IntelliMouse Explorer PS/2 mouse. That way, all user space | 75 | emulated IntelliMouse Explorer PS/2 mouse. That way, all user space |
@@ -73,7 +85,7 @@ config INPUT_MOUSEDEV_PSAUX | |||
73 | bool "Provide legacy /dev/psaux device" | 85 | bool "Provide legacy /dev/psaux device" |
74 | default y | 86 | default y |
75 | depends on INPUT_MOUSEDEV | 87 | depends on INPUT_MOUSEDEV |
76 | ---help--- | 88 | help |
77 | Say Y here if you want your mouse also be accessible as char device | 89 | Say Y here if you want your mouse also be accessible as char device |
78 | 10:1 - /dev/psaux. The data available through /dev/psaux is exactly | 90 | 10:1 - /dev/psaux. The data available through /dev/psaux is exactly |
79 | the same as the data from /dev/input/mice. | 91 | the same as the data from /dev/input/mice. |
@@ -103,7 +115,7 @@ config INPUT_MOUSEDEV_SCREEN_Y | |||
103 | 115 | ||
104 | config INPUT_JOYDEV | 116 | config INPUT_JOYDEV |
105 | tristate "Joystick interface" | 117 | tristate "Joystick interface" |
106 | ---help--- | 118 | help |
107 | Say Y here if you want your joystick or gamepad to be | 119 | Say Y here if you want your joystick or gamepad to be |
108 | accessible as char device 13:0+ - /dev/input/jsX device. | 120 | accessible as char device 13:0+ - /dev/input/jsX device. |
109 | 121 | ||
@@ -125,7 +137,7 @@ config INPUT_EVDEV | |||
125 | 137 | ||
126 | config INPUT_EVBUG | 138 | config INPUT_EVBUG |
127 | tristate "Event debugging" | 139 | tristate "Event debugging" |
128 | ---help--- | 140 | help |
129 | Say Y here if you have a problem with the input subsystem and | 141 | Say Y here if you have a problem with the input subsystem and |
130 | want all events (keypresses, mouse movements), to be output to | 142 | want all events (keypresses, mouse movements), to be output to |
131 | the system log. While this is useful for debugging, it's also | 143 | the system log. While this is useful for debugging, it's also |
@@ -140,7 +152,7 @@ config INPUT_EVBUG | |||
140 | config INPUT_APMPOWER | 152 | config INPUT_APMPOWER |
141 | tristate "Input Power Event -> APM Bridge" if EMBEDDED | 153 | tristate "Input Power Event -> APM Bridge" if EMBEDDED |
142 | depends on INPUT && APM_EMULATION | 154 | depends on INPUT && APM_EMULATION |
143 | ---help--- | 155 | help |
144 | Say Y here if you want suspend key events to trigger a user | 156 | Say Y here if you want suspend key events to trigger a user |
145 | requested suspend through APM. This is useful on embedded | 157 | requested suspend through APM. This is useful on embedded |
146 | systems where such behaviour is desired without userspace | 158 | systems where such behaviour is desired without userspace |