usb_hid: Fix for Unicomp Mini M #773
The keyboard sends 10 byte report, not 8.
This commit is contained in:
parent
3f7025b33a
commit
5ed16b1445
1 changed files with 3 additions and 0 deletions
|
|
@ -12,11 +12,14 @@ void KBDReportParser::Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *b
|
||||||
}
|
}
|
||||||
xprintf("\r\n");
|
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
|
// boot keyboard report length should be 8
|
||||||
if (len != 8) {
|
if (len != 8) {
|
||||||
xprintf(" ignored\r\n");
|
xprintf(" ignored\r\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Rollover error
|
// Rollover error
|
||||||
// Cherry: 0101010101010101
|
// Cherry: 0101010101010101
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue