init.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. return {
  2. tag = 'modules',
  3. summary = 'Connects to VR hardware.',
  4. description = [[
  5. The `lovr.headset` module is where all the magical VR functionality is. With it, you can access
  6. connected VR hardware and get information about the available space the player has. Note that
  7. all units are reported in meters. Position `(0, 0, 0)` is the center of the play area.
  8. ]],
  9. sections = {
  10. {
  11. name = 'Headset',
  12. tag = 'headset',
  13. description = 'Functions that return information about the active head mounted display (HMD).'
  14. },
  15. {
  16. name = 'Input',
  17. tag = 'input',
  18. description = [[
  19. Functions for accessing input devices, like controllers, hands, trackers, or gamepads.
  20. ]]
  21. },
  22. {
  23. name = 'Play area',
  24. tag = 'playArea',
  25. description = [[
  26. Retrieve information about the size and shape of the room the player is in, and provides
  27. information about the "chaperone", a visual indicator that appears whenever a player is
  28. about to run into a wall.
  29. ]]
  30. }
  31. }
  32. }