home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / StarSiege.exe / Starsiege / KeyMaps / Cyberman2.cs < prev    next >
Text File  |  1998-07-21  |  1KB  |  33 lines

  1. #------------------------------------------------------------------------------
  2. # include generic camera controls
  3. exec( "_defCamera.cs" );
  4.  
  5.  
  6. #------------------------------------------------------------------------------
  7. # include generic keyboard controls
  8. exec( "_defKeyboard.cs" );
  9.  
  10.  
  11. #------------------------------------------------------------------------------
  12. #
  13. # Add Logitech Cyberman2 custom configuration
  14. #
  15. editActionMap( Herc );
  16.  
  17. bindAction( joystick, zaxis, TO, IDACTION_SPEED, deadzone, 0.4, center, square, flip );
  18. bindAction( joystick, yaxis, TO, IDACTION_LOOK_Y, deadzone, 0.4, center, square );
  19. bindAction( joystick, xaxis, TO, IDACTION_YAW, deadzone, 0.5, center, square );
  20. bindAction( joystick, rzaxis, TO, IDACTION_LOOK_X, deadzone, 0.5, center, square );
  21.  
  22. bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
  23. bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
  24. bindAction( joystick, make, button1, TO, IDACTION_TARGET_SELECTED );
  25. bindAction( joystick, make, button2, TO, IDACTION_WEAPON_MODE_SELECT );
  26. bindAction( joystick, make, button3, TO, IDACTION_SHIELD_TRACK );
  27. bindAction( joystick, make, button4, TO, IDACTION_CROUCH, 1.0 );
  28. bindAction( joystick, break, button4, TO, IDACTION_CROUCH, 0.0 );
  29. bindAction( joystick, make, button5, TO, IDACTION_CAMOUFLAGE );
  30. bindAction( joystick, make, button6, TO, IDACTION_WEAPON_ADJ, -1.0 );
  31. bindAction( joystick, make, button7, TO, IDACTION_WEAPON_ADJ, 1.0 );
  32.  
  33.