OpenVR driver

OpenVR driver

This driver adds support for the Antilatency tracking system to SteamVR. After installing, you will be able to use the Antilatency tracker and controllers when running SteamVR applications.

The driver’s structure

<DriverDirectory> /
├─bin /
│ └─ ...
├─resources /
│ └─ ...
└─driver.vrdrivermanifest

Installation

Copy the driver’s folder into any directory.
Launch this command template via cmd to install the driver:"<SteamDirectory>\steamapps\common\SteamVR\bin\win64\vrpathreg.exe" adddriver "<DriverDirectory>", where <SteamDirectory> is the path to the Steam folder, and <DriverDirectory> is the path to the driver folder.
For example, a command executed from the folder with the vrpathreg.exe file may look like this:vrpathreg.exe adddriver "D:\AntilatencySoft\OpenVrDriver_3.5.2"

Uninstall

You can uninstall the driver via the command line using the command:
"<SteamDirectory>\steamapps\common\SteamVR\bin\win64\vrpathreg.exe" removedriver "<DriverDirectory>"
In this command: <SteamDirectory> is the path to the Steam folder, and <DriverDirectory> is the path to the OpenVR driver folder.

How to use the driver

This driver adds support for the following device types in SteamVR:
A tracker’s Placement is searched for by the name specified in the Tag property of the socket. If the property is not set or such a placement is not found, the default placement from AntilatencyService will be used.
A Bracer’s placement is set automatically depending on the Tag property of the socket. Therefore, you should set the Tag property as LeftHand for the left hand, and RightHand — for the right one.
Read about how to set a Tag property for a device here: How to configure device custom properties.
Bracer's buttons
  1. Trigger click — push the sensor panel of the Bracer on the inner side of the palm.
  2. System click — a trigger click while holding your hand over your head and looking straight ahead.
System click works only after replacing HMD tracking with Antilatency tracking.

Standard SteamVR tracking override

To edit the steamvr.vrsettings file you may need to disable «Read-only» access mode in its Properties. After editing the file, we recommend enabling read-only access mode. (Properties - General - Attributes - Read-only)
The standard tracking override is carried out via the TrackingOverrides section in the <Steam directory>/config/steamvr.vrsettings file.
Example:
"steamvr" : {
    "activateMultipleDrivers" : true,
    "forceFadeOnBadTracking" : false
},
"TrackingOverrides" : {
    "/devices/antilatency/Head" : "/user/head",
    "/devices/antilatency/LeftHand" : "/user/hand/left",
    "/devices/antilatency/RightHand" : "/user/hand/right"
},
"driver_antilatency" : {
    "enable" : true
},
"trackers" : {
    "/devices/antilatency/Head" : "TrackerRole_None",
    "/devices/antilatency/LeftHand" : "TrackerRole_None",
    "/devices/antilatency/RightHand" : "TrackerRole_None"
}
SteamVR will overwrite the file if there are JSON punctuation errors. We recommend you keep a copy just in case. You can check JSON punctuation, for example, here.
For an HMD that has been assigned a Head serial number by the antilatency driver, we recommend using the universal serial number /user/head. This will allow you to use the Antilatency tracker with any headset and not request the System Report for this. You can also use aliases as we showed for hands in the example above.
The SteamVR system registers any Antilatency device by the value of its Tag property if it is set; otherwise, the socket's hardware serial number is used. You can find out the serial number of the device, as well as set the value of its Tag property in the Device Network tab of AntilatencyService.
Take into account that you should set the values of following parameters:
We recommend setting the value in the trackers section to TrackerRole_None for each device, which overrides the tracking.
To learn more about the SteamVR tracking override, please, read the SteamVR documentation.

How to find the serial number of an HMD

The serial numbers of all the devices in the SteamVR system are available in the System Report. You can create it with the Create system report command in the SteamVR menu: