2 releases

new 0.1.2 Jun 1, 2024
0.1.0 May 9, 2024

#685 in Hardware support

Download history 132/week @ 2024-05-04 51/week @ 2024-05-11 58/week @ 2024-05-18 46/week @ 2024-05-25

287 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

12KB
268 lines

This crate contains all configurations that you can customize RMK.

There are two TYPES of configuration: [toml_config] and [keyboard_config].

  • [toml_config]: the configuration describles how the RMK toml configuration file looks like. It can be loaded directly from a toml file.

Why we have two configurations?

We want to provide a user-friendly representation of configurations, that's why [toml_config] exists. For example, to define the keyboard matrix, users can just use a list of string in toml like: ["PA1", "PA2"]. This list could be automatically converted to an actual GPIO matrix associated to microncontroller in [keyboard_config].

  • [keyboard_config]: the configuration which is internally used in RMK. [keyboard_config] is what RMK's code receives. You can safely ignore it unless you want to dive into the RMK source code.

Dependencies

~0–1.2MB
~24K SLoC