keyboardio / KeyboardioHID

A HID library for Arduino
MIT License
34 stars 17 forks source link

fix NKRO report fencepost #89

Closed tlyu closed 1 year ago

tlyu commented 1 year ago

There was a fencepost error in counting the number of bits in the key bitmap. This resulted in the report descriptor declaring one more Usage than items in the report, which might cause validation problems on some HID implementations.

The only affected Usage was Keypad Hexadecimal, which is probably not used often.