forked from kofal.net/zmk
fix(core): Address review comments from Joel.
* Fix up some lingering events API tweaks for heap-less event manager.
This commit is contained in:
committed by
Pete Johanson
parent
33209dee1d
commit
644feeb40d
@@ -23,8 +23,7 @@ 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);
|
||||
bool pressed = zmk_hid_is_pressed(binding->param1);
|
||||
return raise_zmk_keycode_state_changed(
|
||||
zmk_keycode_state_changed_from_encoded(binding->param1, !pressed, event.timestamp));
|
||||
return raise_zmk_keycode_state_changed_from_encoded(binding->param1, !pressed, event.timestamp);
|
||||
}
|
||||
|
||||
static int on_keymap_binding_released(struct zmk_behavior_binding *binding,
|
||||
|
||||
Reference in New Issue
Block a user