joy-con-webhid icon indicating copy to clipboard operation
joy-con-webhid copied to clipboard

The `alpha` angle only works with a magic multiplier

Open tomayac opened this issue 3 years ago • 2 comments

https://github.com/tomayac/joy-con-webhid/blob/6ebaccf4dfd58cf6b1aae9fb2a706fead665ef72/src/parse.js#L118-L128

tomayac avatar Sep 21 '22 10:09 tomayac

Just curious, is this the reason why alpha gets registered but also slowly counts back down to 0? And thus also the reason why the blue JoyCon in the demo turns back up to stand 'straight'?

EDIT: that was not related. I changed : parse.js line 63 'const zeroBias = 0;' to fix my issuee.

PS First comment. Love this project.

KevinvBre avatar Sep 28 '23 20:09 KevinvBre

This sounds more like a drift in your Joy-Cons. Maybe try recalibrating and a firmware update as per the other issue.

tomayac avatar Sep 29 '23 09:09 tomayac