diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index c1a7e0fe1..77f847f4c 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); } } }