home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / KOOB / control / client / config.cs < prev    next >
Encoding:
Text File  |  2006-09-25  |  783 b   |  19 lines

  1. // Torque Input Map File
  2. playerKeymap.delete();
  3. new ActionMap(playerKeymap);
  4. playerKeymap.bind(mouse0, "button0", MouseAction);
  5. playerKeymap.bind(mouse0, "xaxis", DoYaw);
  6. playerKeymap.bind(mouse0, "yaxis", DoPitch);
  7. playerKeymap.bind(keyboard, "w", GoAhead);
  8. playerKeymap.bind(keyboard, "s", BackUp);
  9. playerKeymap.bind(keyboard, "a", GoLeft);
  10. playerKeymap.bind(keyboard, "d", GoRight);
  11. playerKeymap.bind(keyboard, "space", DoJump);
  12. playerKeymap.bind(keyboard, "z", Toggle3rdPPOVLook);
  13. playerKeymap.bind(keyboard, "tab", Toggle1stPPOV);
  14. playerKeymap.bind(keyboard, "y", Yell);
  15. playerKeymap.bind(keyboard, "ctrl k", suicide);
  16. playerKeymap.bind(keyboard, "f6", toggleCamera);
  17. playerKeymap.bind(keyboard, "f8", dropCameraAtPlayer);
  18. playerKeymap.bind(keyboard, "f7", dropPlayerAtCamera);
  19.