summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/usb_hid/parser.h
diff options
context:
space:
mode:
authorBalz Guenat2017-08-12 18:24:15 +0200
committerJack Humbert2017-08-15 23:14:41 -0400
commit2aa5e4464010a9292b50571243d8ef6e749a5ca4 (patch)
tree81a485c561b87fbc5e4a43b7273fa631a6c8af99 /tmk_core/protocol/usb_hid/parser.h
parent42f895a4bc232515d95d1fb93396ecd2c0032c0e (diff)
some major steps toward making the usb-usb converter work
Diffstat (limited to 'tmk_core/protocol/usb_hid/parser.h')
-rw-r--r--tmk_core/protocol/usb_hid/parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/protocol/usb_hid/parser.h b/tmk_core/protocol/usb_hid/parser.h
index 703eb1ed4..036281fa6 100644
--- a/tmk_core/protocol/usb_hid/parser.h
+++ b/tmk_core/protocol/usb_hid/parser.h
@@ -2,11 +2,14 @@
#define PARSER_H
#include "hid.h"
+#include "report.h"
class KBDReportParser : public HIDReportParser
{
public:
- virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
+ report_keyboard_t report;
+ uint16_t time_stamp;
+ virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
};
#endif