summaryrefslogtreecommitdiffstats
path: root/Documentation/joystick.txt
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 02:55:41 +0000
commitdcec8a13bf565e47942a1751a9cec21bec5648fe (patch)
tree548b69625b18cc2e88c3e68d0923be546c9ebb03 /Documentation/joystick.txt
parent2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff)
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash. o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'Documentation/joystick.txt')
-rw-r--r--Documentation/joystick.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/Documentation/joystick.txt b/Documentation/joystick.txt
index ec525b182..eada60d0d 100644
--- a/Documentation/joystick.txt
+++ b/Documentation/joystick.txt
@@ -15,7 +15,7 @@ stories are also welcome.
2. Usage
~~~~~~~~
If you enable the joystick driver in the kernel configuration, all
-connected joystick should be found automatically. If that doesn't work, you
+connected joysticks should be found automatically. If that doesn't work, you
can pass the joystick driver the following kernel command line arguments:
js=0xXX,0xYY
@@ -41,7 +41,13 @@ used.
select `M' for this driver in the kernel configuration and insert the
module:
-insmod js.o js=0xXX,0xYY
+insmod joystick.o js=0xXX,0xYY
+
+ To enable autoloading/-unloading of the joystick module, you have to add
+these lines to /etc/conf.modules:
+
+alias char-major-15 joystick
+options joystick js=0xXX,0xYY
To enable the user space programs to read the joystick device, you have to
create the device files using mknod (man mknod for more info):
@@ -114,7 +120,7 @@ Version 0.4 Linux 0.99.6 and fixed race condition in js_read.
port started ALL the joystick one shots. If the
one that we are reading is short enough and the
first one to be read, the second one will return
- bad data if it's one shot has not expired when
+ bad data if its one shot has not expired when
the joystick port is written for the second time.
Thus solves the mystery delay problem in 0.2!
Version 0.5 Upgraded the driver to the 0.99.9 kernel, added
@@ -149,7 +155,7 @@ Version 0.9 Ported to 2.1.x
Better ioctl names. Kept binary compatibility.
Removed 'save_busy'. Just set busy to 1.
Version 0.9.0 Based on 0.7.3
- New read function that allows two axes have same value
+ New read function that allows two axes to have the same value
New joystick calibration code
Real support for 3-axis joysticks
CPU speed independent timeouts
@@ -174,7 +180,7 @@ Version 1.0.1 Complete rewrite
Version 1.0.2 Works, many bugs fixed, more yet to come
Version 1.0.3 Tail cutting logic changes & fixes
Fix in js_do_bh - no more zero values for axes
- Lost event changest & fixes
+ Lost event changes & fixes
Version 1.0.4 Kernel command line & module configuration support
Better cli()/sti() handling
Linux 2.1.25 select => poll changes