From 7b65b7e948a6d183d99be0c6e1c297bf2a9dbb14 Mon Sep 17 00:00:00 2001 From: Takayuki Matsubara Date: Tue, 31 Oct 2017 22:51:36 +0900 Subject: fix Logical Maximum to be recognized as 255 instead of -1 SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312 --- tmk_core/protocol/chibios/usb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmk_core/protocol') diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index 59edab9bd2..9bfdf572a1 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), -- cgit v1.2.3