joy-con-webhid-ts
v0.1.1
Published
Joy-Con over WebHID
Downloads
13
Readme
Joy-Con WebHID for TypeScript
This repository forked @tomayac's joy-con-webhid. A WebHID driver for Nintendo Joy-Cons with support for all buttons, analog sticks, and the device's gyroscope and accelerometer sensors.
Demo
In preparation
Installation
In preparation
Usage
In preparation
Why not use the Gamepad API?
The Gamepad API supports Joy-Con controllers out-of-the-box, but since the API (currently) does not have a concept of orientation, the Joy-Cons' accelerometer and gyroscope data cannot be accessed. The buttons and analog sticks are fully exposed, though. If all you need is this, then by all means go for the Gamepad API.
Acknowledgements
This repository forked @tomayac's joy-con-webhid.
License
Apache 2.0.