summaryrefslogtreecommitdiff
path: root/keyboards/ramonimbao/herringbone/pro/keymaps
diff options
context:
space:
mode:
authorRamon Imbao <ramonimbao@gmail.com>2021-12-09 01:38:47 +0800
committerGitHub <noreply@github.com>2021-12-08 09:38:47 -0800
commitc09837e092ff3c8e74dde8567ef9eb3e7a343805 (patch)
treebef84436c8451a61595fd98931a2b121d5af595a /keyboards/ramonimbao/herringbone/pro/keymaps
parentcf9239a88277b0fbdd6de184374c6c84c39d8d8f (diff)
[Keyboard] Flip encoder and fix weird volume behavior for Herringbone Pro (#15423)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/ramonimbao/herringbone/pro/keymaps')
-rw-r--r--keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c b/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
index fceca1a8bd..8acc017679 100644
--- a/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
+++ b/keyboards/ramonimbao/herringbone/pro/keymaps/via/keymap.c
@@ -88,12 +88,14 @@ 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);
anim_sleep = timer_read32();
oled_on();
} else {
encoder_ccw.pressed = true;
encoder_ccw.time = (timer_read() | 1);
action_exec(encoder_ccw);
+ wait_ms(20);
anim_sleep = timer_read32();
oled_on();
}