aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Class/Common/HIDParser.c
AgeCommit message (Collapse)Author
2012-02-20Remove potentially unaligned uint32_t access in HIDParser.c, replace with ↵Dean
standard C bit shifts. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2063 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-17Fixed HID Parser's largest report size bit count not including the size of ↵Dean
the last parsed report item. Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1924 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-07Fixed optimization error in the HID Parser item value ↵Dean
USB_SetHIDReportItemInfo() and USB_GetHIDReportItemInfo() routines if the report item was NULL (which should be allowable according to the API). Fixed HID Parser CALLBACK_HIDParser_FilterHIDReportItem() callback function not being passed a cacheable report item pointer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1921 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Minor documentation fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1865 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-06-20Make the HID Report Parser Get/Set Report Item routines fail if a NULL ↵Dean
pointer to a report item is given. Minor visual enhancement to the HIDReportViewer project. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1814 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-05-14Fixed possible invalid program execution when in host mode if corrupt ↵Dean
descriptor lengths are supplied by the attached device. Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed. Add missing documentation to the USB_Device_States_t enum. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1752 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-12Add missing function attributes to the pipe/endpoint functions for all ↵Dean
architectures. Perform endianness correction in the HID report parser for big-endian platforms. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1734 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-30Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1644 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-01-16New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean
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/. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1635 d5102386-fcda-11dd-9fdb-3debd5008f28