home *** CD-ROM | disk | FTP | other *** search
- #------------------------------------------------------------------------------
- # include generic camera controls
- exec( "_defCamera.cs" );
-
-
- #------------------------------------------------------------------------------
- # include generic keyboard controls
- exec( "_defKeyboard.cs" );
-
-
- #------------------------------------------------------------------------------
- #
- # Add Logitech Cyberman2 custom configuration
- #
- editActionMap( Herc );
-
- bindAction( joystick, zaxis, TO, IDACTION_SPEED, deadzone, 0.4, center, square, flip );
- bindAction( joystick, yaxis, TO, IDACTION_LOOK_Y, deadzone, 0.4, center, square );
- bindAction( joystick, xaxis, TO, IDACTION_YAW, deadzone, 0.5, center, square );
- bindAction( joystick, rzaxis, TO, IDACTION_LOOK_X, deadzone, 0.5, center, square );
-
- bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
- bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
- bindAction( joystick, make, button1, TO, IDACTION_TARGET_SELECTED );
- bindAction( joystick, make, button2, TO, IDACTION_WEAPON_MODE_SELECT );
- bindAction( joystick, make, button3, TO, IDACTION_SHIELD_TRACK );
- bindAction( joystick, make, button4, TO, IDACTION_CROUCH, 1.0 );
- bindAction( joystick, break, button4, TO, IDACTION_CROUCH, 0.0 );
- bindAction( joystick, make, button5, TO, IDACTION_CAMOUFLAGE );
- bindAction( joystick, make, button6, TO, IDACTION_WEAPON_ADJ, -1.0 );
- bindAction( joystick, make, button7, TO, IDACTION_WEAPON_ADJ, 1.0 );
-
-