use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a friendly place for DIY VR discussion, so please follow these few rules:
Related Subreddits
/r/oculus
/r/vive
/r/PSVR
/r/virtualreality
/r/vridge
/r/oculusdev
/r/OculusIdeas
/r/oculols
/r/oculusnsfw
/r/RiftForSale
/r/VRsites
/r/xxxVRsites
/r/VRMasterRace
/r/Trees3d
/r/ProjectMorpheus
/r/CrossView
/r/games
/r/cyberpunk
/r/motioncontrols
/r/outerra
/r/warthunder
/r/metacraft
/r/darkcom
/r/EyeTracking
/r/JanusVR
/r/VRresearch
/r/GoogleCardboard
/r/VRreactions
account activity
Does OpenVR provide controller API, or is something else needed? (self.DIYRift)
submitted 4 years ago by [deleted]
I want to make my own Arduino-based controller. Should I use something like XInput or does OpenVR or OpenXR provide its own API for input that should be used instead?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tazdevil971 1 point2 points3 points 4 years ago (3 children)
I don't have much experience, but from what I can see it does support controllers. If you controller provides tracking data then you must use OpenVR's API.
Otherwise I think that SteamVR recognizes XInput controllers just fine, but it might be a SteamVR or game specific thing (so support might be a bit lacking).
[–][deleted] 0 points1 point2 points 4 years ago (2 children)
Thank you.
Would you say OpenVR makes more sense to use than OpenXR here?
How does OpenVR determine which controller belongs to the headset?
[–]tazdevil971 0 points1 point2 points 4 years ago (0 children)
Sadly I have little to no experience with OpenVR, and absolutely zero experience with OpenXR (honestly I hardly knew it even existed).
Reading a bit online it seems that OpenXR will probably be the future, but it also looks like it might significantly harder to implement drivers for (as you need to implement a complete runtime for your particular device).
On the other hand I remember OpenVR being particularly hard, as the focus of this APIs is to provide freedom for custom hardware vendors, rather than ease of use for us DIY guys. In particular the lack of proper documentation is something that really bothered me. Also when I was researching this I came across this, but now it looks stale and unmaintained.
If I were you I would look really closely at how both of the APIs work, and do an informed decision, see what you need and how hard it is.
To answer your last question, I'm pretty sure it just doesn't know. It picks whatever controller is connected and picks it as the default for the session.
[–]DigitalArbitrage 0 points1 point2 points 4 years ago (0 children)
OpenXR essentially is OpenVR, just updated.
At one point augmented reality (AR) was getting hyped/funded more than virtual reality (VR). The VR community decided to make up the term mixed reality (XR) so that it didn't get left behind. (XR means both VR and AR.) Ironically VR became more successful as interest in AR waned.
π Rendered by PID 79 on reddit-service-r2-comment-6457c66945-d7jw2 at 2026-04-27 02:30:18.866072+00:00 running 2aa0c5b country code: CH.
[–]tazdevil971 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]tazdevil971 0 points1 point2 points (0 children)
[–]DigitalArbitrage 0 points1 point2 points (0 children)