diff options
Diffstat (limited to 'keyboards/rmi_kb/wete/v2/keymaps')
-rw-r--r-- | keyboards/rmi_kb/wete/v2/keymaps/via/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/rmi_kb/wete/v2/keymaps/via/keymap.c b/keyboards/rmi_kb/wete/v2/keymaps/via/keymap.c index 1feb3d4686..05df87fc94 100644 --- a/keyboards/rmi_kb/wete/v2/keymaps/via/keymap.c +++ b/keyboards/rmi_kb/wete/v2/keymaps/via/keymap.c @@ -48,13 +48,13 @@ keyevent_t encoder_cw = { }; void matrix_scan_user(void) { - if (IS_PRESSED(encoder_ccw)) { + if (encoder_ccw.pressed) { encoder_ccw.pressed = false; encoder_ccw.time = timer_read(); action_exec(encoder_ccw); } - if (IS_PRESSED(encoder_cw)) { + if (encoder_cw.pressed) { encoder_cw.pressed = false; encoder_cw.time = timer_read(); action_exec(encoder_cw); |