Minor HID descriptor issue #38
Closed
Labels
Comments
Indeed, thanks for pointing that out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In HID-Wiimote/HID Wiimote/HIDDescriptors.c I think the following:
0x65, 0x12, // UNIT (SI Rot:Angular Pos)
...should be:
0x65, 0x14, // UNIT (English Rot:Angular Pos in Degrees)
...given that the logical values that the usage can have is 1 to 8, and the corresponding physical values are 0 to 315 in 45 degree increments i.e. physical = (logical - 1) * 45
The SI rotational unit is radians not degrees. Probably doesn't matter much...just sayin' :)
The text was updated successfully, but these errors were encountered: