lovr.headset.getDriver

Edit

Returns 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

NameTypeDescription
driverHeadsetDriver The driver of the headset in use, e.g. "OpenVR".

Get the current input driver for a device.

Arguments

NameTypeDescription
deviceDevice The device to get the active driver of. This will be the first driver that is currently returning a pose for the device.

Returns

NameTypeDescription
driverHeadsetDriver The driver of the headset in use, e.g. "OpenVR".

See also