| 1234567891011121314151617181920212223242526272829303132 |
- return {
- tag = 'modules',
- summary = 'Connects to VR hardware.',
- description = [[
- The `lovr.headset` module is where all the magical VR functionality is. With it, you can access
- connected VR hardware and get information about the available space the player has. Note that
- all units are reported in meters. Position `(0, 0, 0)` is the center of the play area.
- ]],
- sections = {
- {
- name = 'Headset',
- tag = 'headset',
- description = 'Functions that return information about the active head mounted display (HMD).'
- },
- {
- name = 'Input',
- tag = 'input',
- description = [[
- Functions for accessing input devices, like controllers, hands, trackers, or gamepads.
- ]]
- },
- {
- name = 'Play area',
- tag = 'playArea',
- description = [[
- Retrieve information about the size and shape of the room the player is in, and provides
- information about the "chaperone", a visual indicator that appears whenever a player is
- about to run into a wall.
- ]]
- }
- }
- }
|