aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/HIDReportData.h
Commit message (Collapse)AuthorAgeFilesLines
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-55/+55
| | | | | | | | | | | | 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.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-171-32/+41
| | | | data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-161-2/+2
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-0/+118
and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.