aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/HIDParser.c
Commit message (Collapse)AuthorAgeFilesLines
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-1/+2
| | | | trailing whitespace at the end of each line.
* Fixed HID Parser's largest report size bit count not including the size of ↵Dean Camera2011-09-171-2/+1
| | | | | | the last parsed report item. Fixed HID host driver's largest HID report size count corrupt when the number of report bits exceeds 255.
* Fixed optimization error in the HID Parser item value ↵Dean Camera2011-09-071-10/+8
| | | | | | 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.
* Minor documentation fixes.Dean Camera2011-07-121-1/+1
|
* Make the HID Report Parser Get/Set Report Item routines fail if a NULL ↵Dean Camera2011-06-201-0/+6
| | | | | | pointer to a report item is given. Minor visual enhancement to the HIDReportViewer project.
* Fixed possible invalid program execution when in host mode if corrupt ↵Dean Camera2011-05-141-1/+1
| | | | | | | | 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.
* Add missing function attributes to the pipe/endpoint functions for all ↵Dean Camera2011-04-121-2/+2
| | | | | | architectures. Perform endianness correction in the HID report parser for big-endian platforms.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-301-0/+3
| | | | | | | | | | | | 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.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-161-0/+355
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/.