getType.lua 427 B

12345678910111213141516
  1. return {
  2. tag = 'headset',
  3. summary = 'Get the type of connected headset.',
  4. description = [[
  5. Get the type of headset. Currently only the HTC Vive is supported, though support for the
  6. Oculus Rift and other devices is planned.
  7. ]],
  8. arguments = {},
  9. returns = {
  10. {
  11. name = 'type',
  12. type = 'string',
  13. description = 'The type of the headset as a string, e.g. "Vive" for the HTC Vive.'
  14. }
  15. }
  16. }