From 32fcdda183ddd8b1e654c8c0a814fb6f8f3e1d56 Mon Sep 17 00:00:00 2001 From: Void Your Warranty Date: Tue, 19 Nov 2024 23:55:05 +0100 Subject: [PATCH] API change. --- app/src/behaviors/behavior_antecedent_morph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/behaviors/behavior_antecedent_morph.c b/app/src/behaviors/behavior_antecedent_morph.c index 9a5555f1217..67e480a5ac7 100644 --- a/app/src/behaviors/behavior_antecedent_morph.c +++ b/app/src/behaviors/behavior_antecedent_morph.c @@ -138,7 +138,7 @@ static int on_antecedent_morph_binding_pressed(struct zmk_behavior_binding *bind } } - return behavior_keymap_binding_pressed(data->pressed_binding, event); + return zmk_behavior_invoke_binding(data->pressed_binding,event,true); } // The release of the antecedent morph behavior considers the behavior that was recorded in the instance data and @@ -159,7 +159,7 @@ static int on_antecedent_morph_binding_released(struct zmk_behavior_binding *bin struct zmk_behavior_binding *pressed_binding = data->pressed_binding; data->pressed_binding = NULL; - return behavior_keymap_binding_released(pressed_binding, event); + return zmk_behavior_invoke_binding(pressed_binding,event,false); } static const struct behavior_driver_api behavior_antecedent_morph_driver_api = {