Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

parser.cpp 308B

1234567891011121314
  1. #include "parser.h"
  2. #include "leonardo_led.h"
  3. #include "debug.h"
  4. void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
  5. {
  6. LED_TX_TOGGLE;
  7. debug("KBDReport: ");
  8. for (uint8_t i = 0; i < len; i++) {
  9. debug_hex(buf[i]);
  10. debug(" ");
  11. }
  12. debug("\r\n");
  13. }