Post

Take a Joy-Con and connect it with WebHID, draw a picture in the air and capture it with the sensors. Create an SVG path and insert in the DOM. Apply CSS styling. Sample the DOM and use WebUSB to convert to ILDA and send it to a laser projector. I created the worlds most complicated laserpointer…

The main issue I had was that it auto reconnects, but that we're not allowed to send the report to enable the gyro until a user gesture. That leaves the library in a state where it thinks it has gyro, but it doesn't.

0 reposts0 likes

Ah. Good catch. If you want to review the whole thing, you likely find a bunch of stuff that needs improvement. There might also be some hardware generation differences, some bugs did not reproduce on my two sets of controllers.