Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
dalanchoo's avatar
dalanchoo
Explorer
4 years ago

OVRInput.Get(OVRInput.Axis2D.SecondaryThumbstick) always returns (0,0)

Hi. I am developing a Unity game for the oculus quest. I have an issue where I always get a value of (0, 0) returned when I query the value of the left thumbstick. When I query the value of the right thumbstick, I get real values

if isLeftController is set, I have never been able to get a value other than (0, 0). If it is not set, it correctly gives me the value for my right thumbstick.

if (isLeftController)
{
	axes = OVRInput.Get(OVRInput.Axis2D.SecondaryThumbstick);
}

else
{
	axes = OVRInput.Get(OVRInput.Axis2D.PrimaryThumbstick);
}

 

 

Any idea why this might be?

Thanks
John Lawrie

Replies have been turned off for this discussion