- 14 May, 2011 1 commit
-
-
Dean Camera authored
Fixed possible invalid program execution when in host mode if corrupt 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.
-
- 12 Apr, 2011 1 commit
-
-
Dean Camera authored
Perform endianness correction in the HID report parser for big-endian platforms.
-
- 30 Jan, 2011 1 commit
-
-
Dean Camera authored
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.
-
- 16 Jan, 2011 1 commit
-
-
Dean Camera authored
New HID report item macros (with HID_RI_ prefix) to allow for easy creation 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/.
-
- 01 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 28 Oct, 2010 1 commit
-
-
Dean Camera authored
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
-
- 24 Oct, 2010 1 commit
-
-
Dean Camera authored
All USB class drivers are now automatically included when LUFA/Drivers/USB.h is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
-
- 13 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 01 Oct, 2010 1 commit
-
-
Dean Camera authored
Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
-
- 28 Sep, 2010 1 commit
-
-
Dean Camera authored
Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
-
- 10 Aug, 2010 1 commit
-
-
Dean Camera authored
Fixed USB_GetHIDReportItemInfo() function modifying the given report item's data when the report item does not exist within the supplied report of a multiple report HID device.
-
- 21 Jul, 2010 1 commit
-
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
- 08 May, 2010 1 commit
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 09 Feb, 2010 1 commit
-
-
Dean Camera authored
Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 04 Dec, 2009 3 commits
-
-
Dean Camera authored
Fix double oops -- Host mode settle delay was still being ignored due to inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
-
Dean Camera authored
-
Dean Camera authored
Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
-
- 04 Nov, 2009 2 commits
-
-
Dean Camera authored
Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
-
Dean Camera authored
Fixed HID report parser collection paths invalid due to misplaced semicolon in the free path item search loop. Increased the default number of collection paths allowable by the parser.
-
- 03 Nov, 2009 1 commit
-
-
Dean Camera authored
-
- 05 Oct, 2009 1 commit
-
-
Dean Camera authored
-
- 03 Oct, 2009 1 commit
-
-
Dean Camera authored
Changed Audio Class driver sample read/write functions to be inline, to reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output). Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
-
- 22 Sep, 2009 1 commit
-
-
Dean Camera authored
Add new error condition to the HID Report Parser for when a report is parsed but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
-
- 21 Sep, 2009 2 commits
-
-
Dean Camera authored
Add new attributes to the HID Report Parser and HID Host Mode Class driver to keep track of the largest report the device can send for buffer allocation purposes. Change MouseHostWithParser and KeyboardHostWithParser demos to only allocate the needed number of bytes.
-
Dean Camera authored
Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
-
- 20 Sep, 2009 2 commits
-
-
Dean Camera authored
Finish Class Driver MouseHost demo. Update HID Host Class driver; boot protocol now works, still need to finish and test report protocol mode.
-
Dean Camera authored
Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
-
- 09 Sep, 2009 2 commits
-
-
Dean Camera authored
Change HID report parser so that it can calculate and record the sizes (IN, OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
-
Dean Camera authored
-
- 02 Sep, 2009 1 commit
-
-
Dean Camera authored
Add user-filtering to the HID report parser, so that the user code can decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
-
- 01 Sep, 2009 1 commit
-
-
Dean Camera authored
Changed HIDParser to only zero out important values in the Parsed HID Report Item Information structure to save cycles.
-
- 31 Aug, 2009 1 commit
-
-
Dean Camera authored
-
- 11 Aug, 2009 2 commits
-
-
Dean Camera authored
SetIdle requests to the HID device driver with a 0 idle period (send changes only) now only affect the requested HID interface within the device, not all HID interfaces. Apply correct fix to the HID report parser for PUSH items - current HID item attribute stack was being copied in the wrong direction. Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered.
-
Dean Camera authored
Fixed swapped paremeters in the HID state memory copy call while processing a HID PUSH item in the HID report parser. Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed. Make RNDIS device class driver include the CDC device class driver header, so that it can inherrit the required CDC functional descriptor macro. Make HID host class driver include the HID report parser.
-
- 28 Jul, 2009 1 commit
-
-
Dean Camera authored
Fixed report data alignment issues in the MouseHostWithParser demo when X and Y movement data size is not a multiple of 8 bits. Fixed HID Report Descriptor Parser not correctly resetting internal states when a REPORT ID element is encountered.
-
- 15 Jun, 2009 1 commit
-
-
Dean Camera authored
-
- 14 Jun, 2009 1 commit
-
-
Dean Camera authored
Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
-