I don't know if is a bad device, or some weird provision of HID I have the original version of Koolertron's 46 key macro pad. Keys can be mapped to mouse or keyboard functionality. examples/DualRole/HID/hid_remapper/hid_remapper.ino#L144 ``` if (len != 8) { Serial.printf("report len = %u NOT 8, probably something wrong !!\r\n", len, dev_addr, instance); Serial.print("Report data: "); for (int i = 0; i < len; i++) { Serial.printf("%02X ", report[i]); } Serial.println(); } else { ``` I tested a mapped the A key and got ``` report len = 18 NOT 8, probably something wrong !! Report data: 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ``` Which is to say, it works as demonstrated if I patch it to ``` if (len != 8 && len != 18 ) { ``` Could this or a similar report data log be added to the example?
Activity