Skip to content

MARUSORI/Simple-OpenVR-Driver-Tutorial

 
 

Repository files navigation

OpenVR Driver Examples

This repo contains a set of OpenVR driver examples I have written for you to copy, use, and learn from using c++17. I have tried my best to add useful comments to make it easier to understand what everything means, but if you have any other questions, or want to contribute, please raise an issue.

I originally planned some more examples for this but my priorities have moved elsewhere, so I'm posting this update as-is.

If you are looking for the original tutorial, it is still available on the wiki, and the files are available on this commit.

Projects

  1. Basic Setup (Tracked HMD & Controllers)
  2. Trackers
  3. Compositor (Custom Compositor Window) (Incomplete)

Building

Clone this repository and the submodule(s) using

git clone --recursive https://github.com/terminal29/Simple-OpenVR-Driver-Tutorial.git

And build with CMake

cd <insert name here>
mkdir build
cd build
cmake ..

(or just use CMake GUI)

About

Sample code for how to write OpenVR Drivers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.9%
  • CMake 4.1%