Initial thoughts on the IBM joystick that I have.
John Stewart CRC Canada.

Updated December 29, 1999. John Stewart@crc.ca

0) untar the oss package. http://www.opensound.com

   I had to remove (actually, gzipped) the sound
   modules in the /lib/modules/2*/misc directory.

   I had to create the link, as outlined in the
   ./oss_install script in the oss package.

   I installed into /usr/local/lib/oss


1) start the sound driver - /usr/local/bin/soundon

2) install the joystick driver

	insmod /lib/modules/2*/misc/joystick.o
	insmod /lib/modules/2*/misc/joy-analog.o

3) test it... cat /dev/js0 will give you garbage, but
   it will show change when the joystick is moved.

4) fyi, the modules that I have loaded are:

[root@meson misc]# lsmod
Module                  Size  Used by
joy-analog              4184   0 
joystick                7076   0  [joy-analog]
audiopci               17944   0 
audiobuf               10824   0  [audiopci]
midi                   27988   0  [audiopci]
soundbase             482924   0  [audiopci audiobuf midi]
sndshield               4524   0  [audiopci audiobuf midi soundbase]
nfs                    29656   1  (autoclean)
lockd                  30984   0  (autoclean) [nfs]
sunrpc                 52516   1  (autoclean) [nfs lockd]
3c59x                  19112   1  (autoclean)
aic7xxx               112208   3 


Your mileage (kilometrage) will vary - I have a nfs mount and
a scsi card, etc, etc here.

------------------------------------------------------------

Base switches to left left.

Axes 0 : l/r movement.
Axis 1 : f/b movement.
Axis 2 : left thumb wheel.
But  0 : index finger button - RAPIDLY CYCLES.
But  1 : thumb button.
But  2 : left button on top of stick.
But  3 : right button on top of stick.

left  base switch controls whether the stick centre 4-way switch
does anything or not. (in conjunction with left thumb wheel.

Right base switch controls whether index finger trigger 
is continuous or not.


------------------------------------------------------------

To make it work, emulate "fly" mode.

no buttons pressed:
	- left/right - rotate left/right.
	- for/backward - translate forwards/backwards.

left button pressed:
	- left/right - translate left/right.
	- for/backward - translate down/up.

right button pressed:
	- left/right - rotate "sideways".
	- for/backward - rotate up/down.
