9 report_keyboard_t usb_hid_keyboard_report;
10 uint16_t usb_hid_time_stamp;
13 void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
15 ::memcpy(&usb_hid_keyboard_report, buf, sizeof(report_keyboard_t));
16 usb_hid_time_stamp = millis();
19 debug_hex(usb_hid_keyboard_report.mods);
21 for (uint8_t i = 0; i < 6; i++) {
23 debug_hex(usb_hid_keyboard_report.keys[i]);