Hello everyone,
I've developed a comprehensive custom input device controller for Teensy 4.0 in Arduino IDE. The project works as a specialized keyboard/mouse interface for assistive technology. Everything works well except for one critical issue - I can't get true NKRO (N-Key Rollover) functionality.
My current implementation sends 4 separate 6-key HID reports (for CapsLock, NumLock, ScrollLock, and manually triggered keys), which should theoretically allow for up to 24 keys simultaneously. However, when I already have 6 keys pressed (e.g., A, B, C, D, E, F) and try to press additional keys (like 1, 2), Windows either ignores the new keypresses or cancels some previous ones.
I specifically need support for 24 simultaneous keypresses for my project. I've tried QMK where NKRO works, but then I encountered issues with mouse absolute coordinates and EEPROM functionality.
I don't want to abandon my Arduino IDE project as it's nearly perfect otherwise. I've looked at the Teensy core files and see there's no NKRO keyboard option in the USB Type menu.
Has anyone successfully implemented true NKRO on Teensy 4.0? Could you share any code examples or modifications to the core files needed to achieve this?
Thank you for your help!
I've developed a comprehensive custom input device controller for Teensy 4.0 in Arduino IDE. The project works as a specialized keyboard/mouse interface for assistive technology. Everything works well except for one critical issue - I can't get true NKRO (N-Key Rollover) functionality.
My current implementation sends 4 separate 6-key HID reports (for CapsLock, NumLock, ScrollLock, and manually triggered keys), which should theoretically allow for up to 24 keys simultaneously. However, when I already have 6 keys pressed (e.g., A, B, C, D, E, F) and try to press additional keys (like 1, 2), Windows either ignores the new keypresses or cancels some previous ones.
I specifically need support for 24 simultaneous keypresses for my project. I've tried QMK where NKRO works, but then I encountered issues with mouse absolute coordinates and EEPROM functionality.
I don't want to abandon my Arduino IDE project as it's nearly perfect otherwise. I've looked at the Teensy core files and see there's no NKRO keyboard option in the USB Type menu.
Has anyone successfully implemented true NKRO on Teensy 4.0? Could you share any code examples or modifications to the core files needed to achieve this?
Thank you for your help!