RMK Internal Configuration
The [rmk] section defines configuration parameters used inside RMK. These parameters affect the firmware's behavior, memory usage, and performance. If you don't need to change these parameters, you can ignore this section.
Configuration Example
Parameter Details
Mouse-Related Configuration
mouse_key_interval: Mouse key interval in milliseconds, default value is 20. This parameter controls the mouse movement speed; lower values result in faster movement.mouse_wheel_interval: Mouse wheel interval in milliseconds, default value is 80. This parameter controls the scrolling speed; lower values result in faster scrolling.
Behavior Configuration
Info
Increasing the number of combos, forks, tap dances and macros will increase memory usage.
combo_max_num: Maximum number of combos that the keyboard can store, default value is 8. This value must be between 0 and 256.combo_max_length: Maximum number of keys that can be pressed simultaneously in a combo, default value is 4.fork_max_num: Maximum number of forks for conditional key actions, default value is 8. This value must be between 0 and 256.tap_dance_max_num: Maximum number of tap dances that can be stored, default value is 8. This value must be between 0 and 256.tap_dance_max_tap: Maximum number of taps per tap dance, default value is 2. This value must be between 2 and 256. Iftap_actionsorhold_actionsin tap-dance config is set, thetap_dance_max_tapwill be automatically set to the maximum length oftap_actionsorhold_actions.macro_space_size: Space size in bytes for storing macro sequences, default value is 256.
Matrix Configuration
debounce_time: Default key debounce time in milliseconds, default value is 20.
Channel Configuration
In RMK there are several channels used for communication between tasks. The length of the channel can be adjusted. Larger channel size means more events can be buffered, but it will increase memory usage.
event_channel_size: The length of event channel, default value is 16.report_channel_size: The length of report channel, default value is 16.vial_channel_size: The length of vial channel, default value is 4.flash_channel_size: The length of flash channel, default value is 4.
Split Keyboard Configuration
split_peripherals_num: The number of split peripherals, default value is 1. If multiple peripherals are specified in the toml, this field will be automatically set to the actual peripherals number.split_message_channel_size: The length of the split message channel, default value is 4.
Wireless Configuration
ble_profiles_num: The number of available Bluetooth profiles, default value is 3. This parameter defines how many Bluetooth paired devices the keyboard can store.