lovr.headset.getDriver
EditReturns the HeadsetDriver
that is currently in use, optionally for a specific device. The order of headset drivers can be changed using lovr.conf
to prefer or exclude specific VR APIs.
Get the current headset driver that LÖVR is submitting frames to.
Arguments
None
Returns
Name | Type | Description |
driver | HeadsetDriver | The driver of the headset in use, e.g. "OpenVR". |
Get the current input driver for a device.
Arguments
Name | Type | Description |
device | Device | The device to get the active driver of. This will be the first driver that is currently returning a pose for the device. |
Returns
Name | Type | Description |
driver | HeadsetDriver | The driver of the headset in use, e.g. "OpenVR". |
See also
lovr.headset