6 #include "leonardo_led.h"
10 report_keyboard_t usb_hid_keyboard_report;
11 uint16_t usb_hid_time_stamp;
14 void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
16 ::memcpy(&usb_hid_keyboard_report, buf, sizeof(report_keyboard_t));
17 usb_hid_time_stamp = millis();
21 debug_hex(usb_hid_keyboard_report.mods);
22 for (uint8_t i = 0; i < 6; i++) {
24 debug_hex(usb_hid_keyboard_report.keys[i]);