From df371458b3979ec3439ba1ea7a098506a11df906 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 6 Apr 2018 12:36:20 -0400 Subject: [PATCH] flip direction --- keyboards/planck/keymaps/default/keymap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index c1a7e0fe15..77f847f4c0 100644 --- a/keyboards/planck/keymaps/default/keymap.c +++ b/keyboards/planck/keymaps/default/keymap.c @@ -291,11 +291,11 @@ void encoder_update(bool clockwise) { } } else { if (clockwise) { - register_code(KC_PGUP); - unregister_code(KC_PGUP); - } else { register_code(KC_PGDN); unregister_code(KC_PGDN); + } else { + register_code(KC_PGUP); + unregister_code(KC_PGUP); } } }