diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c index 77f847f4c..b523c184e 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_PGDN); - unregister_code(KC_PGDN); + register_code(KC_MS_WH_DOWN); + unregister_code(KC_MS_WH_DOWN); } else { - register_code(KC_PGUP); - unregister_code(KC_PGUP); + register_code(KC_MS_WH_UP); + unregister_code(KC_MS_WH_UP); } } }