From c8d2e54fd2c6cb10737d0de0b974b7e8137625b2 Mon Sep 17 00:00:00 2001 From: NicoHood Date: Sun, 10 Apr 2016 00:18:26 +0200 Subject: [PATCH] Added HID_ReportRequestTypes_t See HID Request Type HID1.11 Page 51 7.2.1 Get_Report Request --- LUFA/Drivers/USB/Class/Common/HIDClassCommon.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h index d0ed1eb9c..c81b0709a 100644 --- a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h +++ b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h @@ -582,7 +582,15 @@ HID_DTYPE_Report = 0x22, /**< Descriptor header type value, to indicate a HID class HID report descriptor. */ }; - /** Enum for the different types of HID reports. */ + /** Enum for the different types of HID report requests. */ + enum HID_ReportRequestTypes_t + { + HID_REPORT_REQUEST_In = 1, /**< Indicates that the request is an IN report type. */ + HID_REPORT_REQUEST_Out = 2, /**< Indicates that the request is an OUT report type. */ + HID_REPORT_REQUEST_Feature = 3, /**< Indicates that the request is a FEATURE report type. */ + }; + + /** Enum for the different types of HID report items. */ enum HID_ReportItemTypes_t { HID_REPORT_ITEM_In = 0, /**< Indicates that the item is an IN report type. */