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:
urob 2023-01-21 17:48:05 -05:00
parent 822255d6cd
commit 951cc69f7c

View file

@ -51,7 +51,7 @@ static void activate_caps_word(const struct device *dev) {
const struct behavior_caps_word_config *config = dev->config;
if (config->layers > -1) {
zmk_keymap_layer_activate(config->layers);
zmk_keymap_layer_activate(config->layers, false);
}
data->active = true;
}