Skip to content
Snippets Groups Projects
Commit 35c78fb5 authored by Greg Fodor's avatar Greg Fodor
Browse files

New hack

parent 43377526
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,10 @@ export default class SceneEntryManager { ...@@ -98,6 +98,10 @@ export default class SceneEntryManager {
}); });
})(); })();
// HACK - A-Frame calls getVRDisplays at module load, we want to do it here to
// force gamepads to become live if they were not active at launch.
navigator.getVRDisplays();
this.scene.addState("entered"); this.scene.addState("entered");
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment