I feel the best way to fire guns is by using DirectX (DX) button 1. This button, I am assuming, is almost always the trigger on joysticks.
The advantage to doing this is that you have have 2 paralell means for data entry. Keyboard data does not interfere with DX data and vice versa. IE: You can still fire while trimming, zooming, etc...
To select primary, secondary or both gun functions I change stick sets. Stickset 1 is fire both, Stickset 2 is fire primary, and Stickset 3 is fire secondary.
As an example; you might remap the key f to select Stickset 2. Instead of directing firing the gun, pressing f now configures AH to fire the gun via DX button 1. Pulling the trigger now shoots primary guns. This will work in any vehicle or plane you are in, because primary guns are primary guns.
This can all mapped very easily within the AH keymapping and stickmapping routines. They are very versatile. Only your own imagination limits you.
Good Luck!

------------------
Mino
The Wrecking Crew
[This message has been edited by Minotaur (edited 04-09-2000).]