Use Oculus controllers with SteamVR headsets.
NOTE: While this can be used it is not complete, more details can be seen at the todo section.
There are two ways to install the plugin:
C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers
and copy the contents of the latest release into the SteamVR drivers directory. Your folder structure should look something like this:
Or
C:\Users\%Username%\AppData\Local\openvr
and find the openvrpaths.vrpath
file. Open this file with your text editor of choice, and under "external_drivers"
, add another entry with the location of the oculus_to_steamvr
folder. For example mine looks like this after adding the entry:{
"external_drivers":
[
"C:\\Users\\kofre\\Documents\\OculusToSteamVR"
]
}
By default the Oculus hardware wont be aligned properly in SteamVR space. I don't have a way to automatically calibrate this as of yet, so you will have to calibrate it manually.
To do this, open SteamVR and with your Oculus controllers press both the Menu
(on the left controller) and A
buttons on the controllers.
This will put the controllers into calibration mode, use the following buttons to move and calibrate the controllers:
Index trigger
: Toggle the calibration mode between position and rotation.X
: Move the controllers up.Y
: Move the controllers down.A
: Move the controllers left.B
: Move the controllers right.Right grip
: Move the controllers forward.Left grip
: Move the controllers backward.X
: Rotate the controllers up.Y
: Rotate the controllers down.A
: Rotate the controllers left.B
: Rotate the controllers right.Right grip
: Rotate the controllers clockwise.Left grip
: Rotate the controllers anti-clockwise.Menu
and A
buttons on the controllers again to exit calibration mode and save the calibration. You can use the controllers as trackers by toggling between the controller and tracker modes by pressing the Menu
and Right thumbstick
buttons on the controllers.
git clone --recursive https://github.com/ReadieFur/OculusToSteamVR.git
cd OculusToSteamVR && cmake .
oculus_to_steamvr
.This section is to credit other people who have either directly contributed to the project, or resources I have used that are open source. | Resource | Author |
---|---|---|
SteamVR driver template | terminal29 | |
DirectX11 header for Oculus | Oculus |