News for hackers. Stuff that matters.
Re:Kirei is a work-in-progress keyboard library written in Zig by rational_indian on Tuesday January 30, 2024 @07:39PM (#39198142)
Why do we need this? What problem does it solve?

>> 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.

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.

Re:Kirei is a work-in-progress keyboard library written in Zig by ryncewynd on Wednesday January 31, 2024 @04:45AM (#39201868)
It's keyboard firmware for some riscv microcontrollers.

If you want to build a custom keyboard with certain low cost mcus