Giter Club home page Giter Club logo

Comments (1)

stewdio avatar stewdio commented on May 21, 2024

Hi Lewis—thanks for investigating this and providing so much info! I see what you mean about the Gamepad id string. I’ve just updated my code to find the appropriate support object using startsWith() instead of a direct object property access. Do you think in the future the Gamepad API might support multiple properties for this? Like a main ID, then subversion strings? Make, model, year, version number... That sort of thing?

As for preferring to call these “Windows motion controllers” I see what you mean there. But the “style” string that I assign is meant to be an extreme shorthand to make distinguishing between supported controllers more convenient. For example one might write if( controller.style === 'microsoft' )... Brevity and clarity. (As second-generation VR rigs hit the market I may have to expand upon this, but I’ll wait to see what the landscape is before adding additional bits.)

I’ll take a closer look at the pointing pose—that’s an interesting distinction I hadn’t considered. Perhaps even worth making a new issue out of; I could revisit the pointing poses of all supported controllers.

from three.vrcontroller.

Related Issues (15)

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.