RMK provides a simple and declarative way to configure your keyboard using a TOML configuration file, requiring no Rust programming knowledge. You can also use Rust API which offers maximum flexibility and control over your keyboard's behavior.
In this section, we will introduce how to configure your keyboard in detail. The documentation will mainly focus on keyboard.toml but still provide Rust API code example if needed.
keyboard.tomlThe keyboard.toml file is the central configuration for nearly every aspect of your keyboard setup. The following sections can be configured in your keyboard.toml:
keyboard.tomlWe also provide pre-configured templates for popular microcontroller chips in the rmk-config/src/default_config directory. You can use then when generating project using rmkit. Contributions for additional chip configurations are welcome!
For a complete specification of all TOML configuration options, please refer to the other documentation chapters under Configuration section.
All Rust API that RMK provides can be found in https://docs.rs/rmk, you can also refer to examples/use_rust in RMK's main repository for comprehensive examples.