summaryrefslogtreecommitdiffstats
path: root/Documentation/joystick-api.txt
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-08 12:37:17 +0000
commit9aa9eb41942b918f385ccabd2efdd6e7e4232165 (patch)
tree20bec7da036d31ec185dfc1dcc00753c7ac9b170 /Documentation/joystick-api.txt
parent87075e049581f880f01eb0b41aa6ac807b299e35 (diff)
Merge with Linux 2.4.0-test6-pre1.
Diffstat (limited to 'Documentation/joystick-api.txt')
-rw-r--r--Documentation/joystick-api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/joystick-api.txt b/Documentation/joystick-api.txt
index b3a0c20c7..763a5c4ff 100644
--- a/Documentation/joystick-api.txt
+++ b/Documentation/joystick-api.txt
@@ -29,13 +29,13 @@ By default, the device is opened in blocking mode.
where js_event is defined as
struct js_event {
- __u32 time; /* event timestamp in miliseconds */
+ __u32 time; /* event timestamp in milliseconds */
__s16 value; /* value */
__u8 type; /* event type */
__u8 number; /* axis/button number */
};
-If the read is successfull, it will return sizeof(struct js_event), unless
+If the read is successful, it will return sizeof(struct js_event), unless
you wanted to read more than one event per read as described in section 3.1.
@@ -225,7 +225,7 @@ JS_VERSION symbol
~~~~~~~~~~~~~~
JSIOCGNAME(len) allows you to get the name string of the joystick - the same
-as is being printed at boot time. The 'len' argument is the lenght of the
+as is being printed at boot time. The 'len' argument is the length of the
buffer provided by the application asking for the name. It is used to avoid
possible overrun should the name be too long.