aboutsummaryrefslogtreecommitdiff
path: root/protocol/usb_hid/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/usb_hid/parser.cpp')
-rw-r--r--protocol/usb_hid/parser.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/protocol/usb_hid/parser.cpp b/protocol/usb_hid/parser.cpp
new file mode 100644
index 000000000..cf6432230
--- /dev/null
+++ b/protocol/usb_hid/parser.cpp
@@ -0,0 +1,15 @@
1#include "parser.h"
2
3void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
4{
5 PORTB ^= (1<<0);
6/*
7 Serial.print("KBDReport: ");
8 for (uint8_t i = 0; i < len; i++) {
9 PrintHex<uint8_t>(buf[i]);
10 Serial.print(" ");
11 }
12 Serial.print("\r\n");
13*/
14 //PORTC &= ~(1<<7);
15}