PlutoVR / sandcastle

a friendly, powerful WebXR prototyping engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Mixed Reality controllers don't work with Sandcastle input

zachkaarvikfm opened this issue · comments

When I enter VR for any sandcastle example with one or both of my WMR controllers connected, or if I connect a controller while in VR, the sandcastle app will throw an exception in the debugOutput() method of xrinput.js Uncaught TypeError: Cannot read property 'buttons' of null.
This will cause the app to stop rendering

It appears that the XRInputSource for WMR controllers does not have the gamepad property present.