diff options
author | Takayuki Matsubara <takayuki.1229@gmail.com> | 2017-10-31 22:51:36 +0900 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-31 11:12:06 -0400 |
commit | 7b65b7e948a6d183d99be0c6e1c297bf2a9dbb14 (patch) | |
tree | b1b33c5b49974f367f67473c1a66e4a46cb985e1 /tmk_core/protocol/chibios | |
parent | 4c1164c469a103981478222b21ef5ffaa364448d (diff) |
fix Logical Maximum to be recognized as 255 instead of -1
SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
Diffstat (limited to 'tmk_core/protocol/chibios')
-rw-r--r-- | tmk_core/protocol/chibios/usb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |