home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / StarSiege.exe / Starsiege / KeyMaps / WingmanLight.cs < prev    next >
Text File  |  1998-07-21  |  1KB  |  32 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 support for Logitech WingMan Light
  14. #
  15. editActionMap( Herc );
  16.  
  17. bindAction( joystick, make, button0, TO, IDACTION_FIRE, 1.0 );
  18. bindAction( joystick, break, button0, TO, IDACTION_FIRE, 0.0 );
  19. bindAction( joystick, make, button1, TO, IDACTION_TARGET_SELECTED );
  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.  
  23. bindAction( mouse0, make, button0, TO, IDACTION_FIRE, 1.0 );
  24. bindAction( mouse0, break, button0, TO, IDACTION_FIRE, 0.0 );
  25. bindAction( mouse0, make, shift, button0, TO, IDACTION_FIRE, -1.0 );
  26. bindAction( mouse0, break, shift, button0, TO, IDACTION_FIRE, 0.0 );
  27. bindAction( mouse0, break, button1, TO, IDACTION_TARGET_SELECTED );
  28. bindAction( mouse0, break, button2, TO, IDACTION_TARGET_CLOSEST_ENEMY );
  29. bindAction( mouse0, xaxis, TO, IDACTION_LOOK_X, scale, 0.5, flip );
  30. bindAction( mouse0, yaxis, TO, IDACTION_LOOK_Y, scale, 0.5, flip );
  31.  
  32.