aboutsummaryrefslogtreecommitdiff
path: root/common/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard.c')
-rw-r--r--common/keyboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/keyboard.c b/common/keyboard.c
index 5e95fb984..1e0b8c3ed 100644
--- a/common/keyboard.c
+++ b/common/keyboard.c
@@ -65,9 +65,10 @@ void keyboard_task(void)
65 65
66 for (int c = 0; c < MATRIX_COLS; c++) { 66 for (int c = 0; c < MATRIX_COLS; c++) {
67 if (matrix_change & (1<<c)) { 67 if (matrix_change & (1<<c)) {
68 keymap_process_event((keyevent_t){ 68 action_exec((keyevent_t){
69 .key = (keypos_t){ .row = r, .col = c }, 69 .key = (keypos_t){ .row = r, .col = c },
70 .pressed = (matrix_row & (1<<c)) 70 .pressed = (matrix_row & (1<<c)),
71 .time = timer_read()
71 }); 72 });
72 // record a processed key 73 // record a processed key
73 matrix_prev[r] ^= (1<<c); 74 matrix_prev[r] ^= (1<<c);