Skip to content

Commit

Permalink
usb_hid: Fix for Unicomp Mini M #773
Browse files Browse the repository at this point in the history
The keyboard sends 10 byte report, not 8.
  • Loading branch information
tmk committed Mar 7, 2024
1 parent 3f7025b commit 5ed16b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tmk_core/protocol/usb_hid/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ void KBDReportParser::Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *b
}
xprintf("\r\n");

/* Keyboard can send report in size other than 8 bytes
* https://github.com/tmk/tmk_keyboard/issues/773
// boot keyboard report length should be 8
if (len != 8) {
xprintf(" ignored\r\n");
return;
}
*/

// Rollover error
// Cherry: 0101010101010101
Expand Down

0 comments on commit 5ed16b1

Please sign in to comment.