2015-04-09 18:32:04 +02:00
|
|
|
#ifndef PARSER_H
|
|
|
|
#define PARSER_H
|
|
|
|
|
|
|
|
#include "hid.h"
|
2017-08-12 18:24:15 +02:00
|
|
|
#include "report.h"
|
2015-04-09 18:32:04 +02:00
|
|
|
|
|
|
|
class KBDReportParser : public HIDReportParser
|
|
|
|
{
|
|
|
|
public:
|
2017-08-12 18:24:15 +02:00
|
|
|
report_keyboard_t report;
|
|
|
|
uint16_t time_stamp;
|
|
|
|
virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
|
2015-04-09 18:32:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|