Ensure that the previous HID reports in the HID device class driver are kept per...
[pub/lufa.git] / LUFA / Drivers / USB / Class / Device / HID.h
index 61f43a1..ae68134 100644 (file)
@@ -88,7 +88,9 @@
                                        bool     UsingReportProtocol; /**< Indicates if the HID interface is set to Boot or Report protocol mode */\r
                                        uint16_t IdleCount; /**< Report idle period, in mS, set by the host */\r
                                        uint16_t IdleMSRemaining; /**< Total number of mS remaining before the idle period elapsed - this should be\r
-                                                                                          *   decremented by the user application if non-zero each millisecond */                      \r
+                                                                                          *   decremented by the user application if non-zero each millisecond */      \r
+\r
+                                       uint8_t PreviousReportINData[HID_MAX_REPORT_SIZE]; /**< Previously generated report from the HID interface */\r
                                } State; /**< State data for the USB class interface within the device. All elements in this section\r
                                          *   are reset to their defaults when the interface is enumerated.\r
                                          */\r