Device.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. return {
  2. description = 'Different types of input devices supported by the `lovr.headset` module.',
  3. values = {
  4. {
  5. name = 'head',
  6. description = 'The headset.'
  7. },
  8. {
  9. name = 'hand/left',
  10. description = 'The left controller.'
  11. },
  12. {
  13. name = 'hand/right',
  14. description = 'The right controller.'
  15. },
  16. {
  17. name = 'left',
  18. description = 'A shorthand for hand/left.'
  19. },
  20. {
  21. name = 'right',
  22. description = 'A shorthand for hand/right.'
  23. },
  24. {
  25. name = 'elbow/left',
  26. description = 'A device tracking the left elbow.'
  27. },
  28. {
  29. name = 'elbow/right',
  30. description = 'A device tracking the right elbow.'
  31. },
  32. {
  33. name = 'shoulder/left',
  34. description = 'A device tracking the left shoulder.'
  35. },
  36. {
  37. name = 'shoulder/right',
  38. description = 'A device tracking the right shoulder.'
  39. },
  40. {
  41. name = 'chest',
  42. description = 'A device tracking the chest.'
  43. },
  44. {
  45. name = 'waist',
  46. description = 'A device tracking the waist.'
  47. },
  48. {
  49. name = 'knee/left',
  50. description = 'A device tracking the left knee.'
  51. },
  52. {
  53. name = 'knee/right',
  54. description = 'A device tracking the right knee.'
  55. },
  56. {
  57. name = 'foot/left',
  58. description = 'A device tracking the left foot or ankle.'
  59. },
  60. {
  61. name = 'foot/right',
  62. description = 'A device tracking the right foot or ankle.'
  63. },
  64. {
  65. name = 'camera',
  66. description = 'A device used as a camera in the scene.'
  67. },
  68. {
  69. name = 'keyboard',
  70. description = 'A tracked keyboard.'
  71. },
  72. {
  73. name = 'eye/left',
  74. description = 'The left eye.'
  75. },
  76. {
  77. name = 'eye/right',
  78. description = 'The right eye.'
  79. },
  80. {
  81. name = 'beacon/1',
  82. description = 'The first tracking device (i.e. lighthouse).'
  83. },
  84. {
  85. name = 'beacon/2',
  86. description = 'The second tracking device (i.e. lighthouse).'
  87. },
  88. {
  89. name = 'beacon/3',
  90. description = 'The third tracking device (i.e. lighthouse).'
  91. },
  92. {
  93. name = 'beacon/4',
  94. description = 'The fourth tracking device (i.e. lighthouse).'
  95. }
  96. }
  97. }