cancel
Showing results for 
Search instead for 
Did you mean: 

GearVR: Disable touchpad swipe as input on Unity UI Sliders?

sterlingcrispin
Explorer
How do I stop touchpad input on the controller from changing slider values? I've been trying for days and can't figure this out.

My situation:
several pages of UI with Unity slider objects on them.

What should happen:
1. User points at sliders, then clicks touchpad and rotates controller to change values. (works fine)
2. User swipes on touchpad to change pages. (works fine)

What I don't want to happen:
User swipes on touchpad to change pages and the slider value changes. 



Unity 5.6.1.f1
Oculus Utilities v1.16.0
OVR Plugin v1.14.1
2 REPLIES 2

sterlingcrispin
Explorer
Hey @imperativity thanks for the reply! I'll try 1.19 , for what its worth the release notes in 1.6 don't say not to use it in GearVR.

I'm using unmodified Oculus provided code from the utilities package. I don't have any code running on a slider consuming the position of the touchpad to change the value, I'm pretty sure it's happening in OVRInputModule.cs provided by the Oculus utilities package. This script is executing pointerDrag events (and others) when I swipe the touchpad and I can't figure out how to stop it. I've gone through the code and commented out everything that says anything about swiping, dragging, touchpad, and VRInput and its still happening so I thought maybe it was coming from 







OVRInput.cs as well.  Any further help you could give would be most appreciated. 

My app is basically ready to launch on GearVR besides this one issue.

As a GearVR developer I've found the documentation to be sparse and lacking mobile specific examples, and overall a difficult and frustrating developer experience compared to Daydream. 

sterlingcrispin
Explorer
@imperativity
weird not sure how I missed that giant disclaimer! yesterday was a long day. Thanks for your help