Coder Social home page Coder Social logo

Comments (5)

jsantell avatar jsantell commented on May 18, 2024 1

Hmm, then maybe adding spatial controller to the map here (with a value of 1) will work? https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L34-L40

Could you try that? I don't have a MR device to test, but I think that would work -- can make the fix if it works for you!

from webxr-polyfill.

jsantell avatar jsantell commented on May 18, 2024

Right now, SteamVR should be picked up as openvr IIRC: https://github.com/immersive-web/webxr-polyfill/blob/master/src/devices/WebVRDevice.js#L34-L40

Although that will work for the Vive, not sure about Microsoft MR devices (is that what you're using?)

What's the gamepad.id for the device? Is it similar to the Spatial Controller in https://github.com/stewdio/THREE.VRController/blob/master/VRController.js#L1116 ?

from webxr-polyfill.

jfcampos avatar jfcampos commented on May 18, 2024

Yes i'm using MR hand controllers. The id is "Spatial Controller (Spatial Interaction Source) 045E-065B" on edge and "Spatial Controller (Spatial Interaction Source)" on Firefox using SteamVR.

from webxr-polyfill.

jfcampos avatar jfcampos commented on May 18, 2024

It works! (PR #40 )

Thanks.

from webxr-polyfill.

jsantell avatar jsantell commented on May 18, 2024

Fixed via #40

from webxr-polyfill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.