home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Scripts / DebugControl.py < prev    next >
Encoding:
Text File  |  2000-10-27  |  1.1 KB  |  36 lines

  1. # This script is written automatically in the config controls
  2. # and is really for defining key asociations with Actions
  3.  
  4. #pdb.set_trace()
  5. ON_RELEASE=0
  6. ON_PRESS=1    # default
  7.  
  8. import BInput
  9.  
  10. InputManager=BInput.GetInputManager()
  11. InputManager.SetInputActionsSet("Default")  # Me aseguro de definir las acciones en el grupo correcto
  12.  
  13.  
  14. ON_RELEASE=0
  15. ON_PRESS=1    # default
  16.  
  17.  
  18.  
  19.  
  20. Bladex.AssocKey("Swim Up","Keyboard","4")
  21. Bladex.AssocKey("Swim Down","Keyboard","5")
  22. Bladex.AssocKey("ToggleStats","Keyboard","T")
  23. Bladex.AssocKey("ToggleSampling","Keyboard","V")
  24. Bladex.AssocKey("ToggleProfiling","Keyboard","F3")
  25. Bladex.AssocKey("Toggle BB","Keyboard","F4")
  26. Bladex.AssocKey("Camera Left","Keyboard","F5")
  27. Bladex.AssocKey("Camera Right","Keyboard","F6")
  28. Bladex.AssocKey("Change Camera","Keyboard","F7")
  29. Bladex.AssocKey("Fixed Camera","Keyboard","F8")
  30. Bladex.AssocKey("Camera Dist","Keyboard","F9")
  31. Bladex.AssocKey("ToggleInvincibility","Keyboard","F10")
  32. Bladex.AssocKey("Bigger FOV","Keyboard","F11")
  33. Bladex.AssocKey("Smaller FOV","Keyboard","F12")
  34. Bladex.AssocKey("Change Mov","Keyboard","P")
  35.  
  36. print "Executed DebugControl.py"