keyMap.js 546 B

12345678910111213141516171819202122232425262728293031
  1. const defaultKeyMap = [
  2. {
  3. name: 'MouseLeft',
  4. pointerType: 'mouse',
  5. button: 'primary'
  6. },
  7. {
  8. name: 'MouseRight',
  9. pointerType: 'mouse',
  10. button: 'secondary'
  11. },
  12. {
  13. name: 'MouseMiddle',
  14. pointerType: 'mouse',
  15. button: 'auxiliary'
  16. },
  17. {
  18. name: 'TouchA',
  19. pointerType: 'touch'
  20. },
  21. {
  22. name: 'TouchB',
  23. pointerType: 'touch'
  24. },
  25. {
  26. name: 'TouchC',
  27. pointerType: 'touch'
  28. }
  29. ];
  30. export { defaultKeyMap };