Smart-word: adopt syntax change from zen-tweaks
Add mandatory momentary state argument introduced by https://github.com/caksoylar/zmk/commit/2fb683a
This commit is contained in:
parent
822255d6cd
commit
951cc69f7c
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ static void activate_caps_word(const struct device *dev) {
|
||||||
const struct behavior_caps_word_config *config = dev->config;
|
const struct behavior_caps_word_config *config = dev->config;
|
||||||
|
|
||||||
if (config->layers > -1) {
|
if (config->layers > -1) {
|
||||||
zmk_keymap_layer_activate(config->layers);
|
zmk_keymap_layer_activate(config->layers, false);
|
||||||
}
|
}
|
||||||
data->active = true;
|
data->active = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue