diff options
Diffstat (limited to 'keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c')
| -rw-r--r-- | keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c b/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c index fa7214149..f671d45c5 100644 --- a/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c +++ b/keyboards/ramonimbao/squishytkl/keymaps/via/keymap.c | |||
| @@ -51,7 +51,7 @@ void matrix_scan_user(void) { | |||
| 51 | } | 51 | } |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | void encoder_update_user(uint8_t index, bool clockwise) { | 54 | bool encoder_update_user(uint8_t index, bool clockwise) { |
| 55 | if (clockwise) { | 55 | if (clockwise) { |
| 56 | encoder_cw.pressed = true; | 56 | encoder_cw.pressed = true; |
| 57 | encoder_cw.time = (timer_read() | 1); | 57 | encoder_cw.time = (timer_read() | 1); |
| @@ -61,4 +61,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 61 | encoder_ccw.time = (timer_read() | 1); | 61 | encoder_ccw.time = (timer_read() | 1); |
| 62 | action_exec(encoder_ccw); | 62 | action_exec(encoder_ccw); |
| 63 | } | 63 | } |
| 64 | return true; | ||
| 64 | } | 65 | } |
