03-31-2022 03:29 AM
Hi,
I am developing an App for the Quest 2 with Unity. I would like to be able to detect that the user is pressing and holding the Oculus button on the right controller to reset the forward orientation. Does anyone know how to do this?
I can already detect if the user has pressed the Oculus button once with OVRPlugin.hasInputFocus, but this does not detect if the button is being pressed and held. I also tried OVRManager.OnPaused etc and it also did not work.
Thanks
01-12-2023 01:26 PM
I am looking to do the exact same thing. I was hoping to find a sort of event like
InputDevices.GetDeviceAtXRNode(XRNode.Head).subsystem.OnRecenter
But we otherwise currently have no way of detecting an actual recenter.