qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit d0571c3da7c83c1fc802ae64c38007486a3df1b0
parent 4ab9fac6a6e0e10f81592b5f4cae398ee54587e2
Author: Ramon Imbao <ramonimbao@gmail.com>
Date:   Thu,  9 Dec 2021 20:17:24 +0800

Add wait_ms to encoder_update_user (#15436)


Diffstat:
Mkeyboards/ramonimbao/chevron/keymaps/via/keymap.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/keyboards/ramonimbao/chevron/keymaps/via/keymap.c b/keyboards/ramonimbao/chevron/keymaps/via/keymap.c @@ -75,10 +75,12 @@ bool encoder_update_user(uint8_t index, bool clockwise) { encoder_cw.pressed = true; encoder_cw.time = (timer_read() | 1); action_exec(encoder_cw); + wait_ms(20); } else { encoder_ccw.pressed = true; encoder_ccw.time = (timer_read() | 1); action_exec(encoder_ccw); + wait_ms(20); } return true; }