Re:Kirei is a work-in-progress keyboard library written in Zig
by AlotOfReading on Tuesday January 30, 2024 @09:54PM
(#39199210)
It takes the pin changes (matrix or already decoded keys isn't clear to me) and generates the appropriate HID reports based on whether they're tapped, long pressed, shifted, etc. Not the hardest code in the world to write, but a long way from leftpad and fairly easy to miss edge cases on the first try.
Besides, what's the issue with someone writing a personal abstraction library? Java programmers commit greater crimes than this daily.
>> Kirei is a keyboard library that you feed inputs to (which keys are pressed) and get outputs from (HID reports) ... It's not just a keyboard firmware
This looks like a repeat of the nodejs leftpad situation but this time it's for keyboard firmware.