Forum Discussion
Anonymous
9 years agoNot applicable
[SOLVED] Click events fired twice on Gear VR
Hello, I am having a strange problem since the latest Oculus/GearVR update (not sure which one it was :blush: ). When I click on a button in Editor it works as expected, same when running the app in d...
vrdaveb
9 years agoOculus Staff
> when I put the phone into Gear VR, clicks/taps are executed twice.
Are you using OVRInput in addition to OVRInputModule? If so, you may want to skip your OVRInput-based code when the active controller is the touchpad:
If you are really getting duplicate touchpad input, make sure you don't have two copies of components like OVRTouchpad or OVRInputModule in your scene.
Are you using OVRInput in addition to OVRInputModule? If so, you may want to skip your OVRInput-based code when the active controller is the touchpad:
if (OVRInput.GetActiveController() != OVRInput.Controller.Touchpad) { /* do input handling */ }We recently added touchpad support to OVRInput and without the above check, you may get your gamepad button handling logic firing at unexpected times in addition to the usual touchpad handling code.If you are really getting duplicate touchpad input, make sure you don't have two copies of components like OVRTouchpad or OVRInputModule in your scene.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 month ago
- 1 year ago