diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-10-14 13:58:08 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-10-14 13:58:08 +0000 |
commit | 826a77e90c467bb5e3cf312267463fb645298252 (patch) | |
tree | 14105689443394525683ec8a626dbc0ac42d29a1 /LUFA/Drivers/USB | |
parent | 9a04475c23b56a7176c985c020eea054a6c350f2 (diff) | |
download | lufa-826a77e90c467bb5e3cf312267463fb645298252.tar.gz lufa-826a77e90c467bb5e3cf312267463fb645298252.tar.bz2 lufa-826a77e90c467bb5e3cf312267463fb645298252.zip |
Fixed maximum allowed keyboard key code usage of 0x65 rather than 0xFF for the HID_DESCRIPTOR_KEYBOARD() macro (thanks to David Monro)
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Class/Common/HIDClassCommon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h index ec345af9e..e2e3883dc 100644 --- a/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h +++ b/LUFA/Drivers/USB/Class/Common/HIDClassCommon.h @@ -428,10 +428,10 @@ HID_RI_REPORT_SIZE(8, 0x03), \ HID_RI_OUTPUT(8, HID_IOF_CONSTANT), \ HID_RI_LOGICAL_MINIMUM(8, 0x00), \ - HID_RI_LOGICAL_MAXIMUM(8, 0x65), \ + HID_RI_LOGICAL_MAXIMUM(8, 0xFF), \ HID_RI_USAGE_PAGE(8, 0x07), \ HID_RI_USAGE_MINIMUM(8, 0x00), \ - HID_RI_USAGE_MAXIMUM(8, 0x65), \ + HID_RI_USAGE_MAXIMUM(8, 0xFF), \ HID_RI_REPORT_COUNT(8, MaxKeys), \ HID_RI_REPORT_SIZE(8, 0x08), \ HID_RI_INPUT(8, HID_IOF_DATA | HID_IOF_ARRAY | HID_IOF_ABSOLUTE), \ |