Joysticks and throttles have been kinda bugging me in the back of my little brain for a while now, so last night I took a little <*cough*> time to try and figure out what's what.
Here's the jist of what I discovered regarding remapping a joystick axis to keys in vegastrike.config...
Forget the "throttle" bit... she's broke. Anthing that has an axis, though, can be assigned to key commands with a bit of work using the analogue hatswitch setup. This is right from the config file...
Code: Select all
<!-- if you have a joystick with an analogue hatswitch
<axis name="hatswitch" nr="0" margin="0.15" joystick="1" axis="2">
<hatswitch value="-1.0"/>
<hatswitch value="-0.6"/>
<hatswitch value="-0.19"/>
<hatswitch value="0.1"/>
</axis>
-->
<!--
<bind joystick="1" digital-hatswitch="0" direction="up" command="ABKey"/>
<bind joystick="1" digital-hatswitch="0" direction="left" command="TargetKey"/>
<bind joystick="1" digital-hatswitch="0" direction="center" command="ABKey"/>
<bind joystick="1" digital-hatswitch="0" direction="right" command="ABKey"/>
-->
You can also double assign an axis so, for example, you can assign it as the y-axis in the joystick part of the config then remap it to the afterburner key in the analogue part of the config and have a "powerdive" effect.
That's the basics of remapping. I'm going to do this in three parts so it's (hopefully) easier to understand.