Explorar o código

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

SEE ALSO: https://github.com/qmk/qmk_firmware/issues/312
Takayuki Matsubara %!s(int64=7) %!d(string=hai) anos
pai
achega
7b65b7e948
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tmk_core/protocol/chibios/usb_main.c

+ 1 - 1
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),