usb_hid: Update UHS2

This commit is contained in:
tmk 2023-07-17 11:28:10 +09:00
parent 002537b8ea
commit 61fc65141c
2 changed files with 7 additions and 1 deletions

@ -1 +1 @@
Subproject commit a98e6f720683b2514cf4dfe0f04a65dfdcc508e1
Subproject commit 85af76f6c9967d7457dbf5aa442a6a67e3e9ecf1

View file

@ -12,6 +12,12 @@ void KBDReportParser::Parse(USBHID *hid, bool is_rpt_id, uint8_t len, uint8_t *b
}
xprintf("\r\n");
// boot keyboard report length should be 8
if (len != 8) {
xprintf(" ignored\r\n");
return;
}
// Rollover error
// Cherry: 0101010101010101
// https://geekhack.org/index.php?topic=69169.msg2638223#msg2638223