immersive-web / webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
Apache License 2.0
381 stars 84 forks source link

Set none to XRInputSource.handedness if gamepad.hand is empty string #107

Closed takahirox closed 4 years ago

takahirox commented 4 years ago

Sorry, I realized that I wrongly edited the code in build/webxr-polyfill.js although I should have edited in src/devices/GamepadXRInputSource.js in #96.

I made a new PR to apply the change in src/devices/GamepadXRInputSource.js.

jsantell commented 4 years ago

Nice catch, thanks @takahirox !