Change HID report parser so that it can calculate and record the sizes (IN, OUT and...
authorDean Camera <dean@fourwalledcubicle.com>
Wed, 9 Sep 2009 08:34:24 +0000 (08:34 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Wed, 9 Sep 2009 08:34:24 +0000 (08:34 +0000)
commit524decdeb3a0a4c7adbeb4af906556e7bc6dd77c
tree3d3e83df9e11a61b2710d334c82609b0f3c89b4d
parent331929833da3e48ac9c43dce90487490d7a77af1
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.
Demos/Host/LowLevel/KeyboardHostWithParser/KeyboardHostWithParser.c
Demos/Host/LowLevel/MouseHostWithParser/MouseHostWithParser.c
LUFA/Drivers/USB/Class/Host/HIDParser.c
LUFA/Drivers/USB/Class/Host/HIDParser.h
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/CompileTimeTokens.txt