Comments (1)
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)
- threejs r89 not support? HOT 13
- Example to target objects other than Dat gui ? HOT 7
- Issue when using with RayCaster HOT 2
- Controller mesh not "moving" with controller
- npm HOT 9
- GearVR / Daydream Gamepad not updated when exiting and entering presentation mode HOT 3
- Xbox ONE controller does not work HOT 2
- Controllers are invisible when I hold them close to my body. HOT 1
- Oculus Go: Controller moves when rotate head/glass HOT 2
- Scale user controller
- Event for original isPressed flag
- GearVR Controller Support? HOT 13
- Daydream - Camera on the floor HOT 8
- NOLO VR HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from three.vrcontroller.