A Note to Game Players
Developer Release Notes
BeOS Release 4

The BeOS provides two ways to describe a joystick to the system:  The simple way is to use the Joysticks preference app, which is fine if you're a simple user, but it doesn't go far enough for many gamers.  If you want more control over the definition and calibration of your joystick, you can use the joystick text description file format that Be supplies.  A number of joystick descriptions files are provided in the /boot/beos/etc/joystick directory.  The following sections tell you how to use these files, and explains their format.


Copying a Joystick Description

Open the /boot/beos/etc/joystick directory.  If you see a file that names your joystick, you should copy the file into your into your /boot/home/config/settings/joystick/ directory so the system will see it when it's setting up the joystick port.  However, you can't simply copy the file; it has to be properly named and cataloged:

  1. Create a subdirectory of /boot/home/config/settings/joystick/ that names the port that you're using. 

    $ mkdir -p ~/config/settings/joystick/gameport

  2. Now copy the file and rename it to the port number.  For example:

    $ cd /boot/beos/etc/joystick
    $ cp Logitech_CyberMan_2 ~/config/settings/joystick/gameport/201

    You can also create a symbolic link to the original, rather than copy the file.  The rules for naming the link are the same as for copying the file.


The Joystick Text Description Format

Joystick descriptions are plain text files; except for the "module" line, which you mustn't touch, all fields in the file can be tweaked.  The first part of the file is the basic description:

Next comes the "advanced" section.  These lines let you fine-tune the joystick: