1
0
Fork 0

fix Logical Maximum to be recognized as 255 instead of -1

SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
This commit is contained in:
Takayuki Matsubara 2017-10-31 22:51:36 +09:00 committed by Jack Humbert
parent 4c1164c469
commit 7b65b7e948

View file

@ -146,7 +146,7 @@ static const uint8_t keyboard_hid_report_desc_data[] = {
0x95, KBD_REPORT_KEYS, // Report Count (), 0x95, KBD_REPORT_KEYS, // Report Count (),
0x75, 0x08, // Report Size (8), 0x75, 0x08, // Report Size (8),
0x15, 0x00, // Logical Minimum (0), 0x15, 0x00, // Logical Minimum (0),
0x25, 0xFF, // Logical Maximum(255), 0x26, 0xFF, 0x00, // Logical Maximum(255),
0x05, 0x07, // Usage Page (Key Codes), 0x05, 0x07, // Usage Page (Key Codes),
0x19, 0x00, // Usage Minimum (0), 0x19, 0x00, // Usage Minimum (0),
0x29, 0xFF, // Usage Maximum (255), 0x29, 0xFF, // Usage Maximum (255),