Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Firepunchd's avatar
Firepunchd
Honored Guest
6 years ago

OVRInput with Vive

Hey there.
I'm trying to get input from the Vive controllers following this guide
https://developer.oculus.com/documentation/quest/latest/concepts/unity-cross-platform-dev
Tracking works nicely for headset and controllers.
Both openVR and OVR are added to the Unity XR settings

but somehow I only get "false" when polling buttons even though the controllers are detected nicely 
OVRInput.GetConnectedControllers() report LTouch ,RTouch or both Touch

I've tried these methods  
OVRInput.Get(OVRInput.Axis1D.PrimaryHandTrigger, OVRInput.Controller.RTouch);
OVRInput.Get(OVRInput.Button.PrimaryHandTrigger, OVRInput.Controller.RTouch)

I'm a bit lost.

Simon

Replies have been turned off for this discussion