Merge pull request #48 from weizenspreu/master

Make KeyboardReportParser::handleLockingKeys() virtual to override keyboard LED handling.
This commit is contained in:
Oleg Mazurov 2013-05-02 11:33:53 -07:00
commit bf411d1141

View file

@ -159,7 +159,7 @@ public:
virtual void Parse(HID *hid, bool is_rpt_id, uint8_t len, uint8_t *buf);
protected:
uint8_t HandleLockingKeys(HID* hid, uint8_t key);
virtual uint8_t HandleLockingKeys(HID* hid, uint8_t key);
virtual void OnKeyDown(uint8_t mod, uint8_t key) {
};