diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-09 08:24:01 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-09 08:24:01 +0000 |
commit | 8bb007f80b3e275c9857a5ffa2cf597711fb7478 (patch) | |
tree | f574668e4d5e1d80974b21d92b2695438b45d83d /LUFA/Drivers/USB/Class/Common/HID.h | |
parent | 4dde844e9f12bca880f88f952231a614d5d912ad (diff) | |
download | lufa-8bb007f80b3e275c9857a5ffa2cf597711fb7478.tar.gz lufa-8bb007f80b3e275c9857a5ffa2cf597711fb7478.tar.bz2 lufa-8bb007f80b3e275c9857a5ffa2cf597711fb7478.zip |
Fixed HID host Class driver report send/receive report broken when issued through the control pipe.
Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed.
Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Common/HID.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/HID.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HID.h b/LUFA/Drivers/USB/Class/Common/HID.h index 233512643..d53b12f6b 100644 --- a/LUFA/Drivers/USB/Class/Common/HID.h +++ b/LUFA/Drivers/USB/Class/Common/HID.h @@ -87,6 +87,14 @@ #define HID_BOOT_KEYBOARD_PROTOCOL 0x01
/* Type Defines: */
+ /** Enum for the different types of HID reports. */
+ enum HID_ReportItemTypes_t
+ {
+ REPORT_ITEM_TYPE_In = 1, /**< Indicates that the item is an IN report type. */
+ REPORT_ITEM_TYPE_Out = 2, /**< Indicates that the item is an OUT report type. */
+ REPORT_ITEM_TYPE_Feature = 3, /**< Indicates that the item is a FEATURE report type. */
+ };
+
/** Type define for the HID class specific HID descriptor, to describe the HID device's specifications. Refer to the HID
* specification for details on the structure elements.
*/
|