Index devices not working as touch devices in OVRInput (Tee Time Golf)
Tee Time Golf (oculus version) doesn't work with index controller. The steam version works without any problems. Here the response of the developer, maybe helpful to fix the problem in one of the next versions:
Currently, the game is written in a way where the Oculus build (version of the game downloaded from the oculus store) uses the OVRInput library to manage input. Based on what is in the Oculus log, it looks very likely that the code to recognize the game in first person is executing. However, for whatever reason Revive is not reporting (spoofing) to OVRInput the Index devices as Touch devices.
For example, this is the code that determines first person view for the Oculus store build.
if (UnityEngine.XR.XRSettings.enabled) { var controller = OVRInput.GetActiveController(); return controller == OVRInput.Controller.LTouch || controller == OVRInput.Controller.RTouch || controller == OVRInput.Controller.Touch; }
The fact that the game is responding to button input means the following code like this is working well.
OVRInput.Get(OVRInput.Button.One);
I can't really explain why the other code isn't working properly.