summaryrefslogtreecommitdiff
path: root/app/src/behaviors/behavior_key_press.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/behaviors/behavior_key_press.c')
-rw-r--r--app/src/behaviors/behavior_key_press.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/behaviors/behavior_key_press.c b/app/src/behaviors/behavior_key_press.c
index df0828a..8282977 100644
--- a/app/src/behaviors/behavior_key_press.c
+++ b/app/src/behaviors/behavior_key_press.c
@@ -22,14 +22,14 @@ static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding,
struct zmk_behavior_binding_event event) {
LOG_DBG("position %d keycode 0x%02X", event.position, binding->param1);
return ZMK_EVENT_RAISE(
- keycode_state_changed_from_encoded(binding->param1, true, event.timestamp));
+ zmk_keycode_state_changed_from_encoded(binding->param1, true, event.timestamp));
}
static int on_keymap_binding_released(struct zmk_behavior_binding *binding,
struct zmk_behavior_binding_event event) {
LOG_DBG("position %d keycode 0x%02X", event.position, binding->param1);
return ZMK_EVENT_RAISE(
- keycode_state_changed_from_encoded(binding->param1, false, event.timestamp));
+ zmk_keycode_state_changed_from_encoded(binding->param1, false, event.timestamp));
}
static const struct behavior_driver_api behavior_key_press_driver_api = {