aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/HIDParser.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-01-30 14:14:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-01-30 14:14:04 +0000
commite6dc95163094692d11715711d5c1aaa19841dd77 (patch)
treef3935657b403333b3578581a2d76944cb9218b12 /LUFA/Drivers/USB/Class/Common/HIDParser.h
parenta852ea8e43d6df9642df3524a974073d2229fa4c (diff)
downloadlufa-e6dc95163094692d11715711d5c1aaa19841dd77.tar.gz
lufa-e6dc95163094692d11715711d5c1aaa19841dd77.tar.bz2
lufa-e6dc95163094692d11715711d5c1aaa19841dd77.zip
Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ClassDriver demos to use it.
Fix reversed byte ordering of multi-byte HID data. Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index. Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE. Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Common/HIDParser.h')
-rw-r--r--LUFA/Drivers/USB/Class/Common/HIDParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HIDParser.h b/LUFA/Drivers/USB/Class/Common/HIDParser.h
index e5b4f9b5f..8347f1dcf 100644
--- a/LUFA/Drivers/USB/Class/Common/HIDParser.h
+++ b/LUFA/Drivers/USB/Class/Common/HIDParser.h
@@ -217,7 +217,7 @@
{
uint16_t BitOffset; /**< Bit offset in the IN, OUT or FEATURE report of the item. */
uint8_t ItemType; /**< Report item type, a value in \ref HID_ReportItemTypes_t. */
- uint16_t ItemFlags; /**< Item data flags, such as constant/variable, etc. */
+ uint16_t ItemFlags; /**< Item data flags, a mask of HID_IOF_* constants. */
uint8_t ReportID; /**< Report ID this item belongs to, or 0x00 if device has only one report */
HID_CollectionPath_t* CollectionPath; /**< Collection path of the item. */