diff options
| author | Ilya Zhuravlev <whatever@xyz.is> | 2023-06-04 15:23:52 -0600 |
|---|---|---|
| committer | Ilya Zhuravlev <whatever@xyz.is> | 2023-06-04 15:23:52 -0600 |
| commit | 42ba6375a6efde2c0190ca5519d48e7e50bdf469 (patch) | |
| tree | ff2190891bc74a68a431b6a7885fdfd3972c5d72 /quantum/vial.c | |
| parent | 2ebc2fd3a28b189008a77d8df79daf325c636cb2 (diff) | |
vial_keycode_up/down: fix sending action_exec
Diffstat (limited to 'quantum/vial.c')
| -rw-r--r-- | quantum/vial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/vial.c b/quantum/vial.c index b434ec3763..056c023594 100644 --- a/quantum/vial.c +++ b/quantum/vial.c @@ -299,6 +299,7 @@ void vial_keycode_down(uint16_t keycode) { register_code16(keycode); } else { action_exec((keyevent_t){ + .type = KEY_EVENT, .key = (keypos_t){.row = VIAL_MATRIX_MAGIC, .col = VIAL_MATRIX_MAGIC}, .pressed = 1, .time = (timer_read() | 1) /* time should not be 0 */ }); } @@ -311,6 +312,7 @@ void vial_keycode_up(uint16_t keycode) { unregister_code16(keycode); } else { action_exec((keyevent_t){ + .type = KEY_EVENT, .key = (keypos_t){.row = VIAL_MATRIX_MAGIC, .col = VIAL_MATRIX_MAGIC}, .pressed = 0, .time = (timer_read() | 1) /* time should not be 0 */ }); } |
