diff options
Diffstat (limited to 'Documentation/input')
-rw-r--r-- | Documentation/input/amijoy.txt | 4 | ||||
-rw-r--r-- | Documentation/input/atarikbd.txt | 10 | ||||
-rw-r--r-- | Documentation/input/cs461x.txt | 2 | ||||
-rw-r--r-- | Documentation/input/ff.txt | 2 | ||||
-rw-r--r-- | Documentation/input/gameport-programming.txt | 4 | ||||
-rw-r--r-- | Documentation/input/input.txt | 31 | ||||
-rw-r--r-- | Documentation/input/joystick-parport.txt | 8 | ||||
-rw-r--r-- | Documentation/input/joystick.txt | 2 | ||||
-rw-r--r-- | Documentation/input/yealink.txt | 4 |
9 files changed, 23 insertions, 44 deletions
diff --git a/Documentation/input/amijoy.txt b/Documentation/input/amijoy.txt index 3b8b2d43a68e..4f0e89df5c51 100644 --- a/Documentation/input/amijoy.txt +++ b/Documentation/input/amijoy.txt | |||
@@ -79,10 +79,10 @@ JOY0DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 | |||
79 | JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 | 79 | JOY1DAT Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 X7 X6 X5 X4 X3 X2 X1 X0 |
80 | 80 | ||
81 | 0=LEFT CONTROLLER PAIR, 1=RIGHT CONTROLLER PAIR. | 81 | 0=LEFT CONTROLLER PAIR, 1=RIGHT CONTROLLER PAIR. |
82 | (4 counters total).The bit usage for both left and right | 82 | (4 counters total). The bit usage for both left and right |
83 | addresses is shown below. Each 6 bit counter (Y7-Y2,X7-X2) is | 83 | addresses is shown below. Each 6 bit counter (Y7-Y2,X7-X2) is |
84 | clocked by 2 of the signals input from the mouse serial | 84 | clocked by 2 of the signals input from the mouse serial |
85 | stream. Starting with first bit recived: | 85 | stream. Starting with first bit received: |
86 | 86 | ||
87 | +-------------------+-----------------------------------------+ | 87 | +-------------------+-----------------------------------------+ |
88 | | Serial | Bit Name | Description | | 88 | | Serial | Bit Name | Description | |
diff --git a/Documentation/input/atarikbd.txt b/Documentation/input/atarikbd.txt index 8fb896c74114..1e7e5853ba4c 100644 --- a/Documentation/input/atarikbd.txt +++ b/Documentation/input/atarikbd.txt | |||
@@ -10,7 +10,7 @@ provides a convenient connection point for a mouse and switch-type joysticks. | |||
10 | The ikbd processor also maintains a time-of-day clock with one second | 10 | The ikbd processor also maintains a time-of-day clock with one second |
11 | resolution. | 11 | resolution. |
12 | The ikbd has been designed to be general enough that it can be used with a | 12 | The ikbd has been designed to be general enough that it can be used with a |
13 | ariety of new computer products. Product variations in a number of | 13 | variety of new computer products. Product variations in a number of |
14 | keyswitches, mouse resolution, etc. can be accommodated. | 14 | keyswitches, mouse resolution, etc. can be accommodated. |
15 | The ikbd communicates with the main processor over a high speed bi-directional | 15 | The ikbd communicates with the main processor over a high speed bi-directional |
16 | serial interface. It can function in a variety of modes to facilitate | 16 | serial interface. It can function in a variety of modes to facilitate |
@@ -30,7 +30,7 @@ is obtained by ORing 0x80 with the make code. | |||
30 | The special codes 0xF6 through 0xFF are reserved for use as follows: | 30 | The special codes 0xF6 through 0xFF are reserved for use as follows: |
31 | 0xF6 status report | 31 | 0xF6 status report |
32 | 0xF7 absolute mouse position record | 32 | 0xF7 absolute mouse position record |
33 | 0xF8-0xFB relative mouse position records(lsbs determind by | 33 | 0xF8-0xFB relative mouse position records (lsbs determined by |
34 | mouse button states) | 34 | mouse button states) |
35 | 0xFC time-of-day | 35 | 0xFC time-of-day |
36 | 0xFD joystick report (both sticks) | 36 | 0xFD joystick report (both sticks) |
@@ -84,7 +84,7 @@ selected. | |||
84 | 4.2 Absolute Position reporting | 84 | 4.2 Absolute Position reporting |
85 | 85 | ||
86 | The ikbd can also maintain absolute mouse position. Commands exist for | 86 | The ikbd can also maintain absolute mouse position. Commands exist for |
87 | reseting the mouse position, setting X/Y scaling, and interrogating the | 87 | resetting the mouse position, setting X/Y scaling, and interrogating the |
88 | current mouse position. | 88 | current mouse position. |
89 | 89 | ||
90 | 4.3 Mouse Cursor Key Mode | 90 | 4.3 Mouse Cursor Key Mode |
@@ -406,7 +406,7 @@ INTERROGATION MODE. | |||
406 | 9.18 SET JOYSTICK MONITORING | 406 | 9.18 SET JOYSTICK MONITORING |
407 | 407 | ||
408 | 0x17 | 408 | 0x17 |
409 | rate ; time between samples in hundreths of a second | 409 | rate ; time between samples in hundredths of a second |
410 | Returns: (in packets of two as long as in mode) | 410 | Returns: (in packets of two as long as in mode) |
411 | %000000xy ; where y is JOYSTICK1 Fire button | 411 | %000000xy ; where y is JOYSTICK1 Fire button |
412 | ; and x is JOYSTICK0 Fire button | 412 | ; and x is JOYSTICK0 Fire button |
@@ -522,7 +522,7 @@ controller memory. The time between data bytes must be less than 20ms. | |||
522 | 0x20 ; memory access | 522 | 0x20 ; memory access |
523 | { data } ; 6 data bytes starting at ADR | 523 | { data } ; 6 data bytes starting at ADR |
524 | 524 | ||
525 | This comand permits the host to read from the ikbd controller memory. | 525 | This command permits the host to read from the ikbd controller memory. |
526 | 526 | ||
527 | 9.26 CONTROLLER EXECUTE | 527 | 9.26 CONTROLLER EXECUTE |
528 | 528 | ||
diff --git a/Documentation/input/cs461x.txt b/Documentation/input/cs461x.txt index 6181747a14d8..afe0d6543e09 100644 --- a/Documentation/input/cs461x.txt +++ b/Documentation/input/cs461x.txt | |||
@@ -27,7 +27,7 @@ This driver have the basic support for PCI devices only; there is no | |||
27 | ISA or PnP ISA cards supported. AFAIK the ns558 have support for Crystal | 27 | ISA or PnP ISA cards supported. AFAIK the ns558 have support for Crystal |
28 | ISA and PnP ISA series. | 28 | ISA and PnP ISA series. |
29 | 29 | ||
30 | The driver works witn ALSA drivers simultaneously. For exmple, the xracer | 30 | The driver works with ALSA drivers simultaneously. For example, the xracer |
31 | uses joystick as input device and PCM device as sound output in one time. | 31 | uses joystick as input device and PCM device as sound output in one time. |
32 | There are no sound or input collisions detected. The source code have | 32 | There are no sound or input collisions detected. The source code have |
33 | comments about them; but I've found the joystick can be initialized | 33 | comments about them; but I've found the joystick can be initialized |
diff --git a/Documentation/input/ff.txt b/Documentation/input/ff.txt index c53b1c11aa40..085eb15b45b7 100644 --- a/Documentation/input/ff.txt +++ b/Documentation/input/ff.txt | |||
@@ -38,7 +38,7 @@ joystick.txt for details. | |||
38 | There is an utility called fftest that will allow you to test the driver. | 38 | There is an utility called fftest that will allow you to test the driver. |
39 | % fftest /dev/input/eventXX | 39 | % fftest /dev/input/eventXX |
40 | 40 | ||
41 | 3. Instructions to the developper | 41 | 3. Instructions to the developer |
42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
43 | All interactions are done using the event API. That is, you can use ioctl() | 43 | All interactions are done using the event API. That is, you can use ioctl() |
44 | and write() on /dev/input/eventXX. | 44 | and write() on /dev/input/eventXX. |
diff --git a/Documentation/input/gameport-programming.txt b/Documentation/input/gameport-programming.txt index 1ba3d322e0ac..14e0a8b70225 100644 --- a/Documentation/input/gameport-programming.txt +++ b/Documentation/input/gameport-programming.txt | |||
@@ -18,8 +18,8 @@ Make sure struct gameport is initialized to 0 in all other fields. The | |||
18 | gameport generic code will take care of the rest. | 18 | gameport generic code will take care of the rest. |
19 | 19 | ||
20 | If your hardware supports more than one io address, and your driver can | 20 | If your hardware supports more than one io address, and your driver can |
21 | choose which one program the hardware to, starting from the more exotic | 21 | choose which one to program the hardware to, starting from the more exotic |
22 | addresses is preferred, because the likelyhood of clashing with the standard | 22 | addresses is preferred, because the likelihood of clashing with the standard |
23 | 0x201 address is smaller. | 23 | 0x201 address is smaller. |
24 | 24 | ||
25 | Eg. if your driver supports addresses 0x200, 0x208, 0x210 and 0x218, then | 25 | Eg. if your driver supports addresses 0x200, 0x208, 0x210 and 0x218, then |
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 | |||
diff --git a/Documentation/input/joystick-parport.txt b/Documentation/input/joystick-parport.txt index d537c48cc6d0..ede5f33daad3 100644 --- a/Documentation/input/joystick-parport.txt +++ b/Documentation/input/joystick-parport.txt | |||
@@ -456,8 +456,8 @@ uses the following kernel/module command line: | |||
456 | 8 | Sony PSX DDR controller | 456 | 8 | Sony PSX DDR controller |
457 | 9 | SNES mouse | 457 | 9 | SNES mouse |
458 | 458 | ||
459 | The exact type of the PSX controller type is autoprobed when used so | 459 | The exact type of the PSX controller type is autoprobed when used, so |
460 | hot swapping should work (but is not recomended). | 460 | hot swapping should work (but is not recommended). |
461 | 461 | ||
462 | Should you want to use more than one of parallel ports at once, you can use | 462 | Should you want to use more than one of parallel ports at once, you can use |
463 | gamecon.map2 and gamecon.map3 as additional command line parameters for two | 463 | gamecon.map2 and gamecon.map3 as additional command line parameters for two |
@@ -465,8 +465,8 @@ more parallel ports. | |||
465 | 465 | ||
466 | There are two options specific to PSX driver portion. gamecon.psx_delay sets | 466 | There are two options specific to PSX driver portion. gamecon.psx_delay sets |
467 | the command delay when talking to the controllers. The default of 25 should | 467 | the command delay when talking to the controllers. The default of 25 should |
468 | work but you can try lowering it for better performace. If your pads don't | 468 | work but you can try lowering it for better performance. If your pads don't |
469 | respond try raising it untill they work. Setting the type to 8 allows the | 469 | respond try raising it until they work. Setting the type to 8 allows the |
470 | driver to be used with Dance Dance Revolution or similar games. Arrow keys are | 470 | driver to be used with Dance Dance Revolution or similar games. Arrow keys are |
471 | registered as key presses instead of X and Y axes. | 471 | registered as key presses instead of X and Y axes. |
472 | 472 | ||
diff --git a/Documentation/input/joystick.txt b/Documentation/input/joystick.txt index 841c353297e6..389de9bd9878 100644 --- a/Documentation/input/joystick.txt +++ b/Documentation/input/joystick.txt | |||
@@ -60,7 +60,7 @@ and install it before going on. | |||
60 | 60 | ||
61 | 2.2 Device nodes | 61 | 2.2 Device nodes |
62 | ~~~~~~~~~~~~~~~~ | 62 | ~~~~~~~~~~~~~~~~ |
63 | For applications to be able to use the joysticks, in you don't use devfs, | 63 | For applications to be able to use the joysticks, |
64 | you'll have to manually create these nodes in /dev: | 64 | you'll have to manually create these nodes in /dev: |
65 | 65 | ||
66 | cd /dev | 66 | cd /dev |
diff --git a/Documentation/input/yealink.txt b/Documentation/input/yealink.txt index 0962c5c948be..0a8c97e87d47 100644 --- a/Documentation/input/yealink.txt +++ b/Documentation/input/yealink.txt | |||
@@ -87,13 +87,13 @@ Line 3 Format : 888888888888 | |||
87 | 87 | ||
88 | 88 | ||
89 | Format description: | 89 | Format description: |
90 | From a user space perspective the world is seperated in "digits" and "icons". | 90 | From a userspace perspective the world is separated into "digits" and "icons". |
91 | A digit can have a character set, an icon can only be ON or OFF. | 91 | A digit can have a character set, an icon can only be ON or OFF. |
92 | 92 | ||
93 | Format specifier | 93 | Format specifier |
94 | '8' : Generic 7 segment digit with individual addressable segments | 94 | '8' : Generic 7 segment digit with individual addressable segments |
95 | 95 | ||
96 | Reduced capabillity 7 segm digit, when segments are hard wired together. | 96 | Reduced capability 7 segm digit, when segments are hard wired together. |
97 | '1' : 2 segments digit only able to produce a 1. | 97 | '1' : 2 segments digit only able to produce a 1. |
98 | 'e' : Most significant day of the month digit, | 98 | 'e' : Most significant day of the month digit, |
99 | able to produce at least 1 2 3. | 99 | able to produce at least 1 2 3. |