We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5177ad commit 51b70a3Copy full SHA for 51b70a3
src/systems/tracked-controls.js
@@ -17,6 +17,8 @@ module.exports.System = registerSystem('tracked-controls', {
17
},
18
19
onEnterVR: function () {
20
+ var xrSession = this.el.xrSession;
21
+ if (!xrSession) { return; }
22
this.el.xrSession.addEventListener('inputsourceschange', this.onInputSourcesChange);
23
24
0 commit comments