summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorMasahiro Wakame <vvakame+dev@gmail.com>2016-06-08 00:30:15 +0900
committerJack Humbert <jack.humb@gmail.com>2016-06-07 11:30:15 -0400
commit6b8b332f77e6e7413d2ebb9d47093bc93255958e (patch)
tree39e3ba4e6e51ee75ffbcad0d813b4663bcfd639e /tmk_core/protocol
parent2fda55ba54db1d22fe306f70f3d99622119abdd6 (diff)
downloadqmk_firmware-6b8b332f77e6e7413d2ebb9d47093bc93255958e.tar.gz
qmk_firmware-6b8b332f77e6e7413d2ebb9d47093bc93255958e.zip
fix HID_RI_LOGICAL_MAXIMUM value (#388)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/lufa/descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/descriptor.c b/tmk_core/protocol/lufa/descriptor.c
index b345da27b4..1fca8af39c 100644
--- a/tmk_core/protocol/lufa/descriptor.c
+++ b/tmk_core/protocol/lufa/descriptor.c
@@ -76,7 +76,7 @@ const USB_Descriptor_HIDReport_Datatype_t PROGMEM KeyboardReport[] =
HID_RI_USAGE_MINIMUM(8, 0x00), /* Reserved (no event indicated) */
HID_RI_USAGE_MAXIMUM(8, 0xFF), /* Keyboard Application */
HID_RI_LOGICAL_MINIMUM(8, 0x00),
- HID_RI_LOGICAL_MAXIMUM(8, 0xFF),
+ HID_RI_LOGICAL_MAXIMUM(16, 0x00FF),
HID_RI_REPORT_COUNT(8, 0x06),
HID_RI_REPORT_SIZE(8, 0x08),
HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_ARRAY | HID_IOF_ABSOLUTE),