home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / keyMaps / ThunderPad.cs < prev    next >
Text File  |  1999-02-19  |  1KB  |  34 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. #------------------------------------------------------------------------------
  11. # include generic keyboard controls
  12. exec( "_defKeyboard.cs" );
  13.  
  14.  
  15. #------------------------------------------------------------------------------
  16. #
  17. # Add support for Logitech ThunderPad Digital
  18. #
  19. editActionMap( Herc );
  20.  
  21. bindAction( joystick, xaxis, TO, IDACTION_YAW, center, square );
  22. bindAction( joystick, yaxis, TO, IDACTION_SPEED, center, square );
  23. bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
  24. bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
  25. bindAction( joystick, make, button1, TO, IDACTION_TARGET_SELECTED );
  26. bindAction( joystick, make, button2, TO, IDACTION_WEAPON_MODE_SELECT);
  27. bindAction( joystick, make, button3, TO, IDACTION_CAMOUFLAGE );
  28. bindAction( joystick, make, button4, TO, IDACTION_CROUCH, 1.0 );
  29. bindAction( joystick, break, button4, TO, IDACTION_CROUCH, 0.0 );
  30. bindAction( joystick, make, button5, TO, IDACTION_SHIELD_TRACK );
  31. bindAction( joystick, make, button6, TO, IDACTION_WEAPON_ADJ, -1.0 );
  32. bindAction( joystick, make, button7, TO, IDACTION_WEAPON_ADJ, 1.0 );
  33.  
  34.