home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / StarSiege.exe / Starsiege / KeyMaps / Digital_Millenium3D.cs < prev    next >
Text File  |  1998-07-21  |  1KB  |  35 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 generic joystick support
  14. #
  15. editActionMap( Herc );
  16.  
  17. #-- Weapon controls
  18. bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
  19. bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
  20. bindAction( joystick, make, button1, TO, IDACTION_TARGET_SELECTED );
  21. bindAction( joystick, make, button2, TO, IDACTION_TARGET_CLOSEST_ENEMY );
  22. bindAction( joystick, make, button4, TO, IDACTION_WEAPON_MODE_SELECT );
  23.  
  24. #-- System controls
  25. bindAction( joystick, make, button5, TO, IDACTION_SHIELD_TRACK );
  26. bindAction( joystick, make, button3, TO, IDACTION_CAMOUFLAGE );
  27.  
  28. #-- Movement controls
  29. bindAction( joystick, xaxis, TO, IDACTION_YAW, deadzone, 0.1, center, square );
  30. bindAction( joystick, yaxis, TO, IDACTION_SPEED, deadzone, 0.1, center, square );
  31. bindAction( joystick, rzaxis, TO, IDACTION_SHIELD_FOCUS_ADJ, deadzone, 0.1, center, square );
  32. bindAction( joystick, xpov, TO, IDACTION_LOOK_X, center );
  33. bindAction( joystick, ypov, TO, IDACTION_LOOK_Y, center );
  34.  
  35.