home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 54
/
ClassicFond54.iso
/
games
/
stars.rar
/
keyMaps
/
WingExtreme_Digital.cs
< prev
next >
Wrap
Text File
|
1999-02-19
|
1KB
|
37 lines
#------------------------------------------------------------------------------
# include generic game actions
exec( "_gameActions.cs" );
#------------------------------------------------------------------------------
# include generic camera controls
exec( "_defCamera.cs" );
#------------------------------------------------------------------------------
# include generic keyboard controls
exec( "_defKeyboard.cs" );
#------------------------------------------------------------------------------
#
# Add support for Logitech WingmanExtreme Digital
#
editActionMap( Herc );
bindAction( joystick, zaxis, TO, IDACTION_SPEED, deadzone, 0.1, center, square );
bindAction( joystick, xaxis, TO, IDACTION_YAW, deadzone, 0.1, center, square );
bindAction( joystick, yaxis, TO, IDACTION_SPEED, deadzone, 0.1, center, square );
bindAction( joystick, xpov, TO, IDACTION_LOOK_X, flip, center );
bindAction( joystick, ypov, TO, IDACTION_LOOK_Y,center );
bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
bindAction( joystick, make, button2, TO, IDACTION_TARGET_SELECTED );
bindAction( joystick, make, button1, TO, IDACTION_CAMOUFLAGE );
bindAction( joystick, make, button3, TO, IDACTION_WEAPON_MODE_SELECT, 1.0 );
bindAction( joystick, make, button4, TO, IDACTION_WEAPON_ADJ, 1.0 );
bindAction( joystick, break, button5, TO, IDACTION_WEAPON_ADJ, -1.0 );