https://github.com/semickolon/fak
FAK is a keyboard firmware for the CH55x series of very cheap chips, with the purely functional programming power of Nickel. The project aims to make keyboards much cheaper and to make configuration more declarative and fun.
New features:
- You can now make split keyboards with FAK!
- Combos of up to 8 keys that get the same treatment as physical keys
- Media keys for playback and volume control
Most importantly, three full examples are now in the repo of varying difficulties. The beginner example demonstrates how to make a simple keyboard and keymap definition and it looks almost like JSON (but with “variables”).
The intermediate and advanced examples demonstrate how powerful Nickel can be. It features parameterization of keymaps and layouts, advanced home-row mods with eager decision, automatic generation of home-row mod behaviors based on their key position, and more. You can even bring your configs to a higher level of abstraction and be able to do something like this:
base_layout = "WFPBJLUYSTHKXNAIRCGDM,.O"
This, for example, defines the sequence of keys in your base layer and, since it’s just a string, you can change it very easily. Somewhere along the way, this string of characters becomes kc.W, kc.F, kc.P, ...
but done automatically. Abstractions like these can help make your configs more flexible and modular and they allow for code reuse across multiple keyboards and layouts (like QMK userspaces!)
I’d love to hear what you guys think! Any feedback, suggestions, and testing is appreciated! :)
What architecture are the the CH55x processors?
It’s 8051
Thank you