summaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 4e955e129..2e32e91e0 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -78,7 +78,14 @@ void keyboard_task(void)
}
}
}
- MATRIX_LOOP_END:
+ // call to update delaying layer when no real event
+ action_exec((keyevent_t) {
+ .key = (keypos_t){ .row = 255, .col = 255 }, // assume this key doesn't exist
+ .pressed = false,
+ .time = 0,
+ });
+
+MATRIX_LOOP_END:
#ifdef MOUSEKEY_ENABLE
// mousekey repeat & acceleration