Skip to content

This repository is an example on how to implement an Open VR driver that sends joystick and/or trackpad input to Open VR.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

finallyfunctional/openvr-driver-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open VR Driver Example

This repository is an example on how to implement an Open VR driver that sends joystick and/or trackpad input to Open VR. This input will move the game character. This sample is simply hard coded to constantly send forward joystick and trackpad input to Open VR, causing the game character to constantly move foward just like if you were using a regular VR controller and holding the joystick/trackpad forward. You can take this example and replace the hardcoded move foward code with code that actually gets output from a device, such as a VR treadmill, VR shoes like mine, VR shoes like CyberShoes, or VR sensors similar to Kat Loco.

I created this sample and wrote lots of documentation in this repository's wiki because I found the existing OpenVR documentation and driver sample to be lacking. It was hard to create this sample initially, not knowing anything about OpenVR. I had to slowly piece together over many hours information from the documentation, sample, and other samples and Open VR implementations I found online to make this driver sample that simply moves the character forward. My hope is that this sample and the documentation I provide here will make it easier for complete beginners to start using Open VR.

About

This repository is an example on how to implement an Open VR driver that sends joystick and/or trackpad input to Open VR.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published