home *** CD-ROM | disk | FTP | other *** search
/ Hacker 9 / HACKER09.ISO / Games / StarSiege.exe / Starsiege / KeyMaps / Keyboard.cs < prev    next >
Text File  |  1998-07-21  |  1KB  |  28 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 arrow keys to control of the targeting cursor
  14. #
  15. editActionMap( Herc );
  16.  
  17. # use arrow keys for targeting cursor
  18. bindAction( keyboard, make, up, TO, IDACTION_LOOK_Y, "+1.0" );
  19. bindAction( keyboard, make, down, TO, IDACTION_LOOK_Y, -1.0 );
  20. bindAction( keyboard, break, up, TO, IDACTION_LOOK_Y, 0.0 );
  21. bindAction( keyboard, break, down, TO, IDACTION_LOOK_Y, 0.0 );
  22. bindAction( keyboard, make, left, TO, IDACTION_LOOK_X, "+1.0" );
  23. bindAction( keyboard, make, right, TO, IDACTION_LOOK_X, -1.0 );
  24. bindAction( keyboard, break, left, TO, IDACTION_LOOK_X, 0.0 );
  25. bindAction( keyboard, break, right, TO, IDACTION_LOOK_X, 0.0 );
  26.  
  27.  
  28.