DeviceButton.lua 815 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. return {
  2. description = 'Buttons on an input device.',
  3. values = {
  4. {
  5. name = 'trigger',
  6. description = 'The trigger button.'
  7. },
  8. {
  9. name = 'thumbstick',
  10. description = 'The thumbstick.'
  11. },
  12. {
  13. name = 'touchpad',
  14. description = 'The touchpad.'
  15. },
  16. {
  17. name = 'grip',
  18. description = 'The grip button.'
  19. },
  20. {
  21. name = 'menu',
  22. description = 'The menu button.'
  23. },
  24. {
  25. name = 'a',
  26. description = 'The A button.'
  27. },
  28. {
  29. name = 'b',
  30. description = 'The B button.'
  31. },
  32. {
  33. name = 'x',
  34. description = 'The X button.'
  35. },
  36. {
  37. name = 'y',
  38. description = 'The Y button.'
  39. },
  40. {
  41. name = 'proximity',
  42. description = 'The proximity sensor on a headset.'
  43. }
  44. }
  45. }