From bac860b173c938bda02be4d2b1e6c72d21380a38 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 7 Nov 2010 12:54:52 +0000 Subject: [PATCH] Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor. --- LUFA/ManPages/ChangeLog.txt | 1 + Projects/Magstripe/Descriptors.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 68b042e4f8..726d9abb9c 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -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 * New: diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 83de760ea4..49ef15987f 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -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) */