home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / keyMaps / WingmanWarrior.cs < prev   
Text File  |  1999-02-19  |  1KB  |  35 lines

  1. #------------------------------------------------------------------------------
  2. # include generic game actions
  3. exec( "_gameActions.cs" );
  4.  
  5. #------------------------------------------------------------------------------
  6. # include generic camera controls
  7. exec( "_defCamera.cs" );
  8.  
  9. #------------------------------------------------------------------------------
  10. # include generic keyboard controls
  11. exec( "_defKeyboard.cs" );
  12.  
  13. #------------------------------------------------------------------------------
  14. #
  15. # Add support for Logitech WingMan Warrior
  16. #
  17. editActionMap( Herc );
  18.  
  19. bindAction( joystick, zaxis, TO, IDACTION_SPEED, deadzone, 0.1, center, square );
  20. bindAction( joystick, yaxis, TO, IDACTION_SPEED, deadzone, 0.1, center, square );
  21. bindAction( joystick, xaxis, TO, IDACTION_YAW, deadzone, 0.1, center, square );
  22. bindAction( joystick, rzaxis, TO, IDACTION_LOOK_X, deadzone, 0.1, center, square );
  23. bindAction( joystick, xpov, TO, IDACTION_SHIELD_FOCUS_ADJ );
  24. bindAction( joystick, ypov, TO, IDACTION_LOOK_Y );
  25.  
  26. bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
  27. bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
  28. bindAction( joystick, make, button1, TO, IDACTION_CAMOUFLAGE );
  29. bindAction( joystick, make, button2, TO, IDACTION_TARGET_SELECTED );
  30. bindAction( joystick, make, button3, TO, IDACTION_MODE_SELECT, 1.0 );
  31.  
  32.  
  33.  
  34.  
  35.