From 513dbdd6901baba39d74ee28ded8b49d9a820069 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sat, 7 Nov 2015 22:24:35 +0100 Subject: Added HID_REPORT_TYPE definitions --- libraries/HID/HID.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libraries/HID') diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index a9b3f58..93c4bd5 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -54,6 +54,11 @@ #define HID_BOOT_PROTOCOL 0 #define HID_REPORT_PROTOCOL 1 +// HID Request Type HID1.11 Page 51 7.2.1 Get_Report Request +#define HID_REPORT_TYPE_INPUT 1 +#define HID_REPORT_TYPE_OUTPUT 2 +#define HID_REPORT_TYPE_FEATURE 3 + typedef struct { uint8_t len; // 9 -- cgit v1.2.3-18-g5258