You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that if I press the buttons below (to switch from hands to controller or viceversa) before entering immersive mode it has no effect. It retains the option / state that had at page load. It works as expected once I enter immersive mode (I can switch from hands to controllers or viceversa)
The text was updated successfully, but these errors were encountered:
dmarcos
changed the title
Input button retains state at load before entering immersive mode
Input button retains state at page load before entering immersive mode
Nov 2, 2023
…d service worker on page load for proper handling of emulator UI actions
Summary: Resolved the issue reported in #43, where adjusting input mode before entering VR had no effect. This was caused by the client-side polyfill not automatically connecting to the IWE service worker without user action (such as entering VR). To address this, a ping is now sent upon page load and polyfill initialization, establishing a connection between the client-side polyfill and the service worker. As a result, emulator UI actions are properly received by the client-side polyfill even before entering VR.
Reviewed By: cabanier
Differential Revision: D51920505
fbshipit-source-id: edbc651e26206876fcd307439806d54f2c5ba4df
Notice that if I press the buttons below (to switch from hands to controller or viceversa) before entering immersive mode it has no effect. It retains the option / state that had at page load. It works as expected once I enter immersive mode (I can switch from hands to controllers or viceversa)
The text was updated successfully, but these errors were encountered: