tomayac / joy-con-webhid

Use the Nintendo Switch Joy-Cons via the WebHID API
https://tomayac.github.io/joy-con-webhid/demo/
Apache License 2.0
135 stars 19 forks source link

JoyCons sometimes dont register gyro/accel data but buttons and sticks work #22

Closed KevinvBre closed 1 year ago

KevinvBre commented 1 year ago

Not sure about the reason yet. But sometimes when I start the demo or local version of it I can't get any gyroscope and accelerometer data. All sticks, buttons, leds and rumble are working correctly.

Mac: 13.4.1 (c) Chrome: Latest 4 different (single) JoyCons.

Can't pin point why this happens but this is what I try to fix it. None of it seems to work as a goto fix. It just randomly starts working (again).

These values are equal on working and not working instances. VendorID productId Productname

Anything I can log or check to help find why this happens?

tomayac commented 1 year ago

I have seen this in the past. Try updating the Joy-Cons on your Switch. This has solved it for mine, acknowledgedly this was some time ago.

KevinvBre commented 1 year ago

Didn't know JoyCons could update at all. (they can!) But it doesn't solve the issue on my setup. Closed it. It's fine for me and I don't wanna bother you.

tomayac commented 1 year ago

Thanks for letting me know what worked for you.