terminal29 / simple-openvr-driver-tutorial Goto Github PK
View Code? Open in Web Editor NEWA sample OpenVR Driver for you to learn from
A sample OpenVR Driver for you to learn from
It seems like the current version of the OpenVR API has changed the controller APIs in favor of IVRDriverInput. Any plans to update the tutorial?
Can you add virtual display
Is there a way to modify the existing code so this driver will function with my Oculus Rift as the "Active HMD" instead of creating a null/dummy one?
I'm trying to develop a driver that modifies my HMD's projection matrix.
Hello, It would be nice to see a self simple driver for controllers (like valve HMD "driver sample" ) for DIY VR Controllers.
As an example, can change the position, rotation and buttons using the keyboard buttons. I did the same for "driver_sample".
For DIY HMD there are few OpenVR drivers (FreeTrack & OpenTrack or Arduino or simple api).
Thanks.
Hi, in the readme it states:
"Set the program the project should run in debug mode to vrstartup (Usually located C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win64\vrstartup.exe). Now we can start up SteamVR without needing to go through Steam, and can properly startup all the other programs vrserver needs."
I am confused, what does "the program" imply here? And what does "project" imply?
Should I configure this somewhere in Visual Studio? Sorry if it's stupid question, I never used Visual Studio before.
Not sure if this repo is being actively maintained, but since it is a top search result, adding this for anyone who might come after me.
With the HMD device as it is in the repo, when you alt-tab (or some other times, I'm not entirely sure when), the window will turn red and you'll see a headset offline error until you click back on the VR view window.
I found that if you add these lines:
vr::VRProperties()->SetBoolProperty( container, vr::Prop_IsOnDesktop_Bool, false );
vr::VRProperties()->SetBoolProperty(container, vr::Prop_DisplayDebugMode_Bool, true);
in the activation of the HMD device, then you no longer get these errors and the HMD display window interoperates with windows much better.
The driver doesn't work after the SteamVR Update : V1.21.12. Any quick fixes?
Hi,
I got two errors when building the latest code:
'sin': is not a member of 'std'
'cos': is not a member of 'std'
I solved it by adding #include <cmath>
to FakeController.cpp and FakeTracker.cpp.
I thought this might be a bug as I am using the latest SDK, but I did not want to make a new branch for two lines.
Well the title says it all. I'm trying to get the video output without drawing it on the screen. Sorry if this was already discussed but I wasn't able to find it.
Thanks in advance.
Even if its object that will be once created and will just sit there and report to steamvr thats some basestation is connected and be visible with model in game please.
I didn't change any code. It shows in console.
No legacy bindings found for app steam.overlay.250820, controller type example_tracker. Trying generic.
Hello!
I was trying to use CMAKE version, built with visual studio,
(second time i just used cmake)
and everything was fine until i ran steamvr.
it just crashes.
But...
When i comment out lines with this->addevice etc. in init functon,
driver runs just fine (cause it have nothing to do)
But when i uncomment just single operation, it's just unrealiable to launch svr with it.
i have tried using those headers and adding them to normal vcxproj dll project,
but same actions there.
(I am trying to add base stations, so i don't really need any input files,
but it is not connected with issue with orginal buil;d with cmakelists)
so then..
please share something, that could be helpful.
i have even tried manual initialization of class, but still nothing to do with it.
Thanks for possible help!
I've been trying to change the name of the driver from "example" to "myownname". But i'm unable to find a way to do it. It simply creates folders under the name of "example".
Any help would be appreciated.
Thanks,
Vivek
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.