Fixed broken input in the MagStripe reader project due to an incorrect HID report...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 7 Nov 2010 12:54:52 +0000 (12:54 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 7 Nov 2010 12:54:52 +0000 (12:54 +0000)
LUFA/ManPages/ChangeLog.txt
Projects/Magstripe/Descriptors.c

index 68b042e..726d9ab 100644 (file)
@@ -98,6 +98,7 @@
   *  - Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface was not configured
   *  - Fixed MIDI class driver send routines silently discarding packets if the endpoint or pipe is busy (thanks to Robin Green)
   *  - Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send buffer becomes full
+  *  - Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor
   *
   *  \section Sec_ChangeLog100807 Version 100807
   *  <b>New:</b>
index 83de760..49ef159 100644 (file)
@@ -60,7 +60,7 @@ USB_Descriptor_HIDReport_Datatype_t PROGMEM KeyboardReport[] =
        0x95, 0x01,          /*   Report Count (1)                              */
        0x75, 0x08,          /*   Report Size (8)                               */
        0x81, 0x03,          /*   Input (Const, Variable, Absolute)             */
-       0x95, 0x01,          /*   Report Count (1)                              */
+       0x95, 0x06,          /*   Report Count (6)                              */
        0x75, 0x08,          /*   Report Size (8)                               */
        0x15, 0x00,          /*   Logical Minimum (0)                           */
        0x25, 0x65,          /*   Logical Maximum (101)                         */