INDEX

Control labels and default DirectInput mappings


The buttons on the ATTACK throttle and an attached joystick have default mappings to DirectInput, and labels for use in game scripts. The button labels are listed below, along with their default DirectInput mappings. The mappings can be changed through the IS statement. Note that labels with whitespace (such as 'Attack Button 1') must have single quote marks. The alternative "S-labels" (S1, S2, etc.) are used throughout the script language documentation.

Note: The ThrustMapper changes S-labels to the longer format. If you open and save the script with the ThrustMapper, any "S-label" (S1, S2, etc.) in the file will be saved in the button's "long" name format. Example: S1 will be saved as 'Joystick Trigger'.

A button not used by a game through DirectInput can still be used in the game if you create a script for the game. Game actions can be assigned to any button -- regardless of its default operation -- through the supplied ThrustMapper software.

DirectInput label/button map

Most of the buttons on an ATTACK throttle/joystick combination map to DirectInput locations as a default action. All the button and hat switch positions have labels that are used in game assignments in script files.

Button Labels And Default
DirectInput Mapping
Button Label
Alternative
Label
DirectInput button
Joystick
--
--
'Joystick Trigger'
S1
1
'Joystick Button 2' (top)
S2
2
'Joystick Button 3' (middle)
S3
3
Joystick 'Button 4' (bottom)
S4
4
POV hat switch
--
--
HU (hat up)
--
N/A*
HD (hat down)
--
N/A*
HL (hat left)
--
N/A*
HR (hat right)
--
N/A*
Throttle
--
--
'Attack Button 1' (index finger)
S5
5
'Attack Button 2' (middle finger)
S6
6
'Attack Button 3' (ring finger)
S7
7
'Attack Button 4' (little finger)
S8
8
'Dogfight Back' (thumb)
S9
9
'Dogfight Forward' (thumb)
S10
10
(dogfight middle)
--
(not mapped)
--
--
DirectInput 11-32
(not used)

* While the POV hat switch positions do not have default DirectInput mappings, any hat position may be mapped to a DirectInput button with the IS statement.

Restrictions:

When using IS to remap buttons, it is illegal to assign multiple buttons to a single DirectInput location.

S1 IS B2 .
S4 IS B2 . // this is a duplicate assignment


home