diff options
Diffstat (limited to 'Documentation/input/input.txt')
-rw-r--r-- | Documentation/input/input.txt | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/Documentation/input/input.txt b/Documentation/input/input.txt index 47137e75fdb8..ff8cea0225f9 100644 --- a/Documentation/input/input.txt +++ b/Documentation/input/input.txt | |||
@@ -68,8 +68,8 @@ will be available as a character device on major 13, minor 63: | |||
68 | 68 | ||
69 | crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice | 69 | crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice |
70 | 70 | ||
71 | This device has to be created, unless you use devfs, in which case it's | 71 | This device has to be created. |
72 | created automatically. The commands to do create it by hand are: | 72 | The commands to create it by hand are: |
73 | 73 | ||
74 | cd /dev | 74 | cd /dev |
75 | mkdir input | 75 | mkdir input |
@@ -154,7 +154,7 @@ about it. | |||
154 | 154 | ||
155 | 3.2 Event handlers | 155 | 3.2 Event handlers |
156 | ~~~~~~~~~~~~~~~~~~ | 156 | ~~~~~~~~~~~~~~~~~~ |
157 | Event handlers distrubite the events from the devices to userland and | 157 | Event handlers distribute the events from the devices to userland and |
158 | kernel, as needed. | 158 | kernel, as needed. |
159 | 159 | ||
160 | 3.2.1 keybdev | 160 | 3.2.1 keybdev |
@@ -230,7 +230,7 @@ generated in the kernel straight to the program, with timestamps. The | |||
230 | API is still evolving, but should be useable now. It's described in | 230 | API is still evolving, but should be useable now. It's described in |
231 | section 5. | 231 | section 5. |
232 | 232 | ||
233 | This should be the way for GPM and X to get keyboard and mouse mouse | 233 | This should be the way for GPM and X to get keyboard and mouse |
234 | events. It allows for multihead in X without any specific multihead | 234 | events. It allows for multihead in X without any specific multihead |
235 | kernel support. The event codes are the same on all architectures and | 235 | kernel support. The event codes are the same on all architectures and |
236 | are hardware independent. | 236 | are hardware independent. |
@@ -279,7 +279,7 @@ struct input_event { | |||
279 | }; | 279 | }; |
280 | 280 | ||
281 | 'time' is the timestamp, it returns the time at which the event happened. | 281 | 'time' is the timestamp, it returns the time at which the event happened. |
282 | Type is for example EV_REL for relative momement, REL_KEY for a keypress or | 282 | Type is for example EV_REL for relative moment, REL_KEY for a keypress or |
283 | release. More types are defined in include/linux/input.h. | 283 | release. More types are defined in include/linux/input.h. |
284 | 284 | ||
285 | 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete | 285 | 'code' is event code, for example REL_X or KEY_BACKSPACE, again a complete |
@@ -289,24 +289,3 @@ list is in include/linux/input.h. | |||
289 | EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for | 289 | EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for |
290 | release, 1 for keypress and 2 for autorepeat. | 290 | release, 1 for keypress and 2 for autorepeat. |
291 | 291 | ||
292 | 6. Contacts | ||
293 | ~~~~~~~~~~~ | ||
294 | This effort has its home page at: | ||
295 | |||
296 | http://www.suse.cz/development/input/ | ||
297 | |||
298 | You'll find both the latest HID driver and the complete Input driver | ||
299 | there as well as information how to access the CVS repository for | ||
300 | latest revisions of the drivers. | ||
301 | |||
302 | There is also a mailing list for this: | ||
303 | |||
304 | majordomo@atrey.karlin.mff.cuni.cz | ||
305 | |||
306 | Send "subscribe linux-input" to subscribe to it. | ||
307 | |||
308 | The input changes are also being worked on as part of the LinuxConsole | ||
309 | project, see: | ||
310 | |||
311 | http://sourceforge.net/projects/linuxconsole/ | ||
312 | |||