]> git.gir.st - tmk_keyboard.git/blob - protocol/usb_hid/parser.cpp
Add USB HID(host) protocol.(not finished)
[tmk_keyboard.git] / protocol / usb_hid / parser.cpp
1 #include "parser.h"
2
3 void 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 }
Imprint / Impressum