From 2919aeeaaba0d1d54e03f9132269c5277d414543 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 4 Dec 2009 01:06:26 +0000 Subject: 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. --- LUFA/ManPages/ChangeLog.txt | 3 +++ LUFA/ManPages/MigrationInformation.txt | 3 +++ 2 files changed, 6 insertions(+) (limited to 'LUFA/ManPages') diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index f0d047894..4fc4424b5 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -19,6 +19,8 @@ * - Added PDI programming support for XMEGA devices to the AVRISP programmer project * - Added support for the XPLAIN board Dataflash, with new XPLAIN_REV1 board target for the different dataflash used * on the first revision boards compared to the one mounted on later revisions + * - 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 * * Changed: * - Removed code in the Keyboard demos to send zeroed reports between two reports with differing numbers of keycodes @@ -45,6 +47,7 @@ * - Fixed misnamed Pipe_SetPipeToken() macro for setting a pipe's direction * - Fixed CDCHost failing on devices with bidirectional endpoints * - Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 and ATMEGA16U2 + * - Fixed HID Parser not distributing the Usage Min and Usage Max values across an array of report items * * \section Sec_ChangeLog091122 Version 091122 * diff --git a/LUFA/ManPages/MigrationInformation.txt b/LUFA/ManPages/MigrationInformation.txt index be0952f28..378744ee5 100644 --- a/LUFA/ManPages/MigrationInformation.txt +++ b/LUFA/ManPages/MigrationInformation.txt @@ -17,6 +17,9 @@ * now named \ref SImage_Host_USBTask() and \ref SImage_Host_ConfigurePipes() respectively. * - The HOST_SENDCONTROL_DeviceDisconnect enum value has been renamed to \ref HOST_SENDCONTROL_DeviceDisconnected to be in * line with the rest of the library error codes. + * - The HID Parser item usages no longer contain seperate minimum and maximum values, as this was a violation of the HID + * specification. Instead, the values are distributed evenly across each item as its usage value, to ensure that all items + * can be distinguished from oneanother. * * Device Mode * - The CALLBACK_HID_Device_CreateHIDReport() HID Device Class driver callback now has a new ReportType parameter to -- cgit v1.2.3