forked from kofal.net/zmk
bugfix(sticky keys): release active sticky keys properly
see https://github.com/zmkfirmware/zmk/issues/445
This commit is contained in:
committed by
Pete Johanson
parent
7babe7f185
commit
3bf770a364
@@ -213,6 +213,8 @@ static int sticky_key_keycode_state_changed_listener(const struct zmk_event_head
|
||||
sticky_key->modified_key_usage_page == ev->usage_page &&
|
||||
sticky_key->modified_key_keycode == ev->keycode) {
|
||||
release_sticky_key_behavior(sticky_key, ev->timestamp);
|
||||
stop_timer(sticky_key);
|
||||
clear_sticky_key(sticky_key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user