vaneenige / unswitch Goto Github PK
View Code? Open in Web Editor NEW🕹 A tiny event handler for Switch controllers!
License: MIT License
🕹 A tiny event handler for Switch controllers!
License: MIT License
Hey,
i am trying to use this library. But it doesnt receives events. I was already on this page http://html5gamepad.com/ and it seems to work. It happens also nothing in your Demo on Codepen.
Hey! unswitch
is awesome but, it could be better if you provide a demo url.
Just use Github Pages or Zeit Now 👍 😉.
DEBUG 不是内部或外部命令, 也不是可运行程序
First off this is such a cool project 👍
Attempting to use the demo, but I can't get the axes
to display anything. Running the demo I get NaN
s:
From what I can tell this line introduces the NaN
:
https://github.com/vaneenige/unswitch/blob/master/src/index.js#L25
It's referencing axes[9]
, but at least on my Joy-Con (R), axes
always returns [0,0,0,0]
.
Given that it's always an array of size 4, is axes intended to work?
(I'm testing with Firefox on Mac OS, FWIW)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.