How to Set Up a "Poor Man's Hat Switch" for a Generic Joystick

This page tells you how to change Button #2 on your Generic Joystick so that you get a "look up" cockpit view instead of "drop bombs" when you press it. You will still be able to use your "B" key on the keyboard to drop bombs.

Its Easy! You only need to know how to edit a text file and type simple MS-DOS commands to do this. Simple stepwise instructions are listed here, which assume your AW directory is c:\airwar. If you have it installed somewhere else, use that directory name for these instructions.

(DOS commands are highlighted with this Heading 5 font)

* Start the MS-DOS prompt. Change your default directory to c:\airwar.:

cd \airwar

* As a precaution, make a backup copy of the file joystick.key:

copy joystick.key joystick.bat

* edit the file joystick.key:

edit joystick.key

* You will be looking at a text file in the MS-DOS text editor. Find the line that reads:

JOYSTICKA2 BOMB_RELEASE

* and carefully change it to:

JOYSTICKA2 LOOK_UP+HOLDDOWN

* save the file, and exit the editor.

* The next step is to "compile" your new joystick.key file. Type the following at the MS-DOS prompt (in your airwar directory):

keymap /cjoystick

* if everything goes well, you will get a message that says the file has been converted to joystick.bnd

* That's it! Enjoy! You can use this "look up" button #2 in combination with other view keys on your keyboard for combo views: press button 2 and keyboard "look back" for a "look up&back" view. If you prefer, you can use "LOOK_BACK+HOLDDOWN" command for button 2 if you would rather have a "look back" view on the stick button 2.

Troubleshooting Tips:

* If something is really screwed up after you changed the joystick.key and compiled it this should change everything back to the way it was, before you changed it:

copy joystick.bak joystick.key
keymap /cjoystick

* Read the airwar help (press F1 while in the HQ) about the "keymap" program.

* If you can't find a joystick.key file, check your directory location, and if you are sure you are in the right directory, use this command to generate a joystick.key file:

keymap /ejoystick

* You can also get complete help for the KEYMAP.EXE program by using the following command:

keymap /h

by IP, Morgul the Witch-King, Commander, {Nazgul}Fighter Wing

Back to {NAZGUL} Home Page