Friday, November 14, 2008

Variable: Joyadvaxisu
Function: Controls mapping of DirectInput axis U (custom axis - Assassin 3D trackball left and right, WingMan Warrior SpinControl and SpaceOrb roll)
Default: 20
Comments: Sets the Assassin 3D to relative turning left and right. (Not self centering)

Variable: Joyadvaxisv
Function: Controls mapping of DirectInput axis V (custom axis - Assassin 3D trackball forward and backward and SpaceOrb yaw)
Default: 18
Comments: Sets the Assassin 3D to relative free-look up and down. (Not self centering)

Each joyadvaxis variable can be set to the following controls:

0 = Axis not used
1 = Axis is for forward and backward movement
2 = Axis is for looking up and down (pitch)
3 = Axis is for side to side movement
4 = Axis is for turning left and right (yaw)

Additionally, each axis can be designated as an absolute axis (like a joystick) or a relative axis (like the FPgaming trackball or the WingMan Warrior SpinControl). Absolute axes are defined as having a stopping position whereas relative axes don't have a stopping position and just go around and around. To designate an axis as a relative axis, add 16 to the above control number. For example, to set the Assassin 3D's axis U to be looking left and right, type 'joyadvaxisu 20'. As another example, to make your rudder pedals control turning left and right, type 'joyadvaxisr 4'. It's a bit complicated, but only needs to be done once.

The advanced axes variables will not have any effect until joyadvanced is set to 1.0. Additionally, any changes to the axes will not take effect until the joyadvancedupdate command is executed. So, the procedure for creating an advanced mapping is:

1. Set 'joyadvanced 1'
2. Make any desired mapping changes
3. Make any desired sensitivity changes
4. Make any desired threshold changes
5. Call 'joyadvancedupdate'

Here is the configuration file for the FPgaming Assassin 3D:
// Revision 1.0 -- refer to www.fpgaming.com for updates
joyname "FPgaming Assassin 3D"
joyadvanced 1
joyadvaxisx 3
joyadvaxisy 1
joyadvaxisz 0
joyadvaxisr 0
joyadvaxisu 20
joyadvaxisv 18
joyforwardsensitivity -1.0
joysidesensitivity 1.0
joypitchsensitivity -0.25
joyyawsensitivity -0.5
joyforwardthreshold 0.15
joysidethreshold 0.15
joyyawthreshold 0.0
joypitchthreshold 0.0
+mlook
joyadvancedupdate

No comments: