Skip to content

Commit e9bace4

Browse files
committed
Add macro: HID_REPORTID_KEYBOARD
1 parent ea52413 commit e9bace4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Keyboard.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525

2626
#include "HID.h"
2727

28+
#ifndef HID_REPORTID_KEYBOARD
29+
#define HID_REPORTID_KEYBOARD 2
30+
#endif
31+
2832
#if !defined(_USING_HID)
2933

3034
#warning "Using legacy HID core (non pluggable)"

0 commit comments

Comments
 (0)