From 951cc69f7c895001fcd5600b048a09c93938a0f8 Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Sat, 21 Jan 2023 17:48:05 -0500 Subject: [PATCH] Smart-word: adopt syntax change from zen-tweaks Add mandatory momentary state argument introduced by https://github.com/caksoylar/zmk/commit/2fb683a --- app/src/behaviors/behavior_caps_word.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/behaviors/behavior_caps_word.c b/app/src/behaviors/behavior_caps_word.c index 5e31dcd3..4f058a08 100644 --- a/app/src/behaviors/behavior_caps_word.c +++ b/app/src/behaviors/behavior_caps_word.c @@ -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; }