aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-07 12:54:52 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-07 12:54:52 +0000
commitbac860b173c938bda02be4d2b1e6c72d21380a38 (patch)
treecc55726ea05e7be3d5d1f7d3375ab10de7f53d0a
parent210bd4db24e1551c40ee3089fe33ef2f890a5bf5 (diff)
downloadlufa-bac860b173c938bda02be4d2b1e6c72d21380a38.tar.gz
lufa-bac860b173c938bda02be4d2b1e6c72d21380a38.tar.bz2
lufa-bac860b173c938bda02be4d2b1e6c72d21380a38.zip
Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor.
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
-rw-r--r--Projects/Magstripe/Descriptors.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 68b042e4f..726d9abb9 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
* <b>New:</b>
diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c
index 83de760ea..49ef15987 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) */