Skip to content

Commit 7219e3e

Browse files
committed
Added HID_REPORT_TYPE definitions
1 parent 537c47f commit 7219e3e

File tree

1 file changed

+5
-0
lines changed
  • hardware/arduino/avr/libraries/HID

1 file changed

+5
-0
lines changed

Diff for: hardware/arduino/avr/libraries/HID/HID.h

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
#define HID_BOOT_PROTOCOL 0
5555
#define HID_REPORT_PROTOCOL 1
5656

57+
// HID Request Type HID1.11 Page 51 7.2.1 Get_Report Request
58+
#define HID_REPORT_TYPE_INPUT 1
59+
#define HID_REPORT_TYPE_OUTPUT 2
60+
#define HID_REPORT_TYPE_FEATURE 3
61+
5762
typedef struct
5863
{
5964
uint8_t len; // 9

0 commit comments

Comments
 (0)