diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-30 14:40:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-30 14:40:42 +0000 |
commit | 7227e133a9cf8d4de1214671211a0d93edb2b4bc (patch) | |
tree | 36a4d79408968c0eb28f45e69cacff7e1ee57673 /LUFA/Drivers/USB/Class/Device/HID.h | |
parent | 72932e278000c7086073a28639e3cfae06e39eb3 (diff) | |
download | lufa-7227e133a9cf8d4de1214671211a0d93edb2b4bc.tar.gz lufa-7227e133a9cf8d4de1214671211a0d93edb2b4bc.tar.bz2 lufa-7227e133a9cf8d4de1214671211a0d93edb2b4bc.zip |
Ensure that the previous HID reports in the HID device class driver are kept per-instance, rather than per-device.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/HID.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/HID.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/HID.h b/LUFA/Drivers/USB/Class/Device/HID.h index 61f43a141..ae68134fe 100644 --- a/LUFA/Drivers/USB/Class/Device/HID.h +++ b/LUFA/Drivers/USB/Class/Device/HID.h @@ -88,7 +88,9 @@ bool UsingReportProtocol; /**< Indicates if the HID interface is set to Boot or Report protocol mode */
uint16_t IdleCount; /**< Report idle period, in mS, set by the host */
uint16_t IdleMSRemaining; /**< Total number of mS remaining before the idle period elapsed - this should be
- * decremented by the user application if non-zero each millisecond */
+ * decremented by the user application if non-zero each millisecond */
+
+ uint8_t PreviousReportINData[HID_MAX_REPORT_SIZE]; /**< Previously generated report from the HID interface */
} State; /**< State data for the USB class interface within the device. All elements in this section
* are reset to their defaults when the interface is enumerated.
*/
|