This is the main Kiibohd Firmware. In general, this should be the only git repo you need to clone. The KLL compiler is automatically retrieved during the build process and will warn you if your KLL compiler is too old.
Please refer to the KLL repo or kiibohd.com for details on the KLL (Keyboard Layout Language) Spec.
The Kiibohd firmware supports a lot of other keyboards, but these are more obscure/custom/lesser known.
Compilation is possible and tested on Windows/Linux/macOS. However, the recommended method is using a Dockerfile.
Then, once you have a docker environment, you can select a build script here.
To compile natively for your platform, refer to the wiki.
Adding support for more microcontrollers is possible. Some considerations for minimum specs:
It's possible to port chips with lower specs, but will be more effort and have fewer features.
+------------------------------------------------+
| Lib Debug |
+------------------------------------------------+
+-------------+ +-------------+ +--------------+
Input +----> Scan +--+ Macro +--+ Output +----> Output
Data | +---------+ | | +--------+ | | | Data
| | Devices +------+ Pixels | | | |
| +----+----+ | | +--------+ | | |
+------|------+ +-------------+ +--------------+
|
v
Hardware
Control
General Code can be found in Lib.
A custom bootloader (based off of McHCK) is available. This is only necessary when assembling a keyboard with a blank MCU or if you're attempting to re-flash your bootloader (requires external tools).
Contributions welcome!
Licensing is done on a per-file basis. Some of the source code is from PJRC/Teensy, other source code is from the McHck Project. Code written specifically for the Kiibohd Controller use the following licenses: