r57zone / OpenVR-driver-for-DIY

OpenVR driver for DIY
GNU General Public License v3.0
130 stars 28 forks source link
diy openvr

EN RU

OpenVR driver for DIY

Driver for OpenVR / SteamVR allowing change HMD and controllers rotation and position with buttons.

Buttons HMD

NumPad 2 & 8 - turn up and down.
NumPad 4 & 6 - turn left and right.
NumPad 1 & 3 - rotation of the head left and right.
NumPad 9 - resetting of turns and rotation. Up & Down - move forward and back.
Left & Right - move left and right.
PageUp & PageDown - move up and down.
End - reset position.

Controller buttons 1

W, A, S, D - move left, right, forward and back.
Q, E - move up and down.
R - reset the move.
Z, X, C, V, 1 - сontroller buttons.
T, G, F, H - rotation of both controllers.
B - reset the rotation of both controllers.

Controller buttons 2

I, K, J, L - move left, right, forward and back.
U, O - move up and down.
P - reset the move.
N, M, <, >, 4 - сontroller buttons.

Setup

Windows

  1. copy the folder "driver" from the archive into the folder "\steamapps\common\SteamVR
  2. start steamVR

Linux

  1. Build Driver:
    git clone git@github.com:r57zone/OpenVR-driver-for-DIY.git openvr-driver-for-diy
    mkdir openvr-driver-for-diy-build
    cd openvr-driver-for-diy-build
    cmake ../openvr-driver-for-diy
    make
  2. Install Driver:
    make install
  3. Start SteamVR

Activate driver

The driver is activated by default and requires no further settings. If it was previously disabled, open the file "\steamapps\common\SteamVR\drivers\sample\recources\settings\default.vrsettings" in an editor and set the "enable" attribute to true, then save and restart SteamVR.

Disable driver

Open the file "\steamapps\common\SteamVR\drivers\sample\recources\settings\default.vrsettings" in an editor and set the attribute "enable" to false, then save and restart SteamVR.

Remove driver

To remove, delete the directory "\steamapps\common\SteamVR\drivers\sample".

Download

Windows Version for x86 & x64.
Download

Feedback

r57zone[at]gmail.com