home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 54 / ClassicFond54.iso / games / stars.rar / keyMaps / Keyboard_Mouse.cs < prev    next >
Text File  |  1999-02-19  |  2KB  |  38 lines

  1. #modified 10/25/98
  2. #------------------------------------------------------------------------------
  3. # include generic game actions
  4. #------------------------------------------------------------------------------
  5. exec( "_gameActions.cs" );
  6.  
  7. #------------------------------------------------------------------------------
  8. # include generic camera controls
  9. #------------------------------------------------------------------------------
  10. exec( "_defCamera.cs" );
  11.  
  12.  
  13. #------------------------------------------------------------------------------
  14. # include generic keyboard controls
  15. #------------------------------------------------------------------------------
  16. exec( "_defKeyboard.cs" );
  17.  
  18.  
  19. #------------------------------------------------------------------------------
  20. # include generic joystick controls
  21. #------------------------------------------------------------------------------
  22. exec( "_defJoystick.cs" );
  23.      
  24.  
  25. #------------------------------------------------------------------------------
  26. #
  27. editActionMap( Herc );
  28.  
  29. # Add mouse to control of the targeting cursor           
  30. #           
  31. bindAction( mouse0, make,  button0, TO, IDACTION_FIRE, 1 );   
  32. bindAction( mouse0, break,  button0, TO, IDACTION_FIRE, 0 );   
  33. bindAction( mouse0, break,  button1, TO, IDACTION_TARGET_SELECTED );    
  34. bindAction( mouse0, break,  button2, TO, IDACTION_TARGET_CLOSEST_ENEMY );    
  35. bindAction( mouse0, xaxis,   TO, IDACTION_LOOK_X, scale, 0.5, flip ); 
  36. bindAction( mouse0, yaxis,   TO, IDACTION_LOOK_Y, scale, 0.5, flip ); 
  37.  
  38.