aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/usb_hid/parser.cpp
blob: cf643223022da7145ba810227470c30254514b9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "parser.h"

void KBDReportParser::Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf)
{
    PORTB ^= (1<<0);
/*
    Serial.print("KBDReport: ");
    for (uint8_t i = 0; i < len; i++) {
        PrintHex<uint8_t>(buf[i]);
        Serial.print(" ");
    }
    Serial.print("\r\n");
*/
    //PORTC &= ~(1<<7);
}