From: Takayuki Matsubara Date: Tue, 31 Oct 2017 13:51:36 +0000 (+0900) Subject: fix Logical Maximum to be recognized as 255 instead of -1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=7b65b7e948a6d183d99be0c6e1c297bf2a9dbb14;p=qmk_firmware.git fix Logical Maximum to be recognized as 255 instead of -1 SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312 --- diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 59edab9bd..9bfdf572a 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -146,7 +146,7 @@ static const uint8_t keyboard_hid_report_desc_data[] = { 0x95, KBD_REPORT_KEYS, // Report Count (), 0x75, 0x08, // Report Size (8), 0x15, 0x00, // Logical Minimum (0), - 0x25, 0xFF, // Logical Maximum(255), + 0x26, 0xFF, 0x00, // Logical Maximum(255), 0x05, 0x07, // Usage Page (Key Codes), 0x19, 0x00, // Usage Minimum (0), 0x29, 0xFF, // Usage Maximum (255),