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