This commit is contained in:
Frederik Baerentsen 2020-05-06 14:18:44 +02:00
commit 18615ea76c

View File

@ -560,11 +560,11 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else if (index == 1) { } else if (index == 1) {
switch (biton32(layer_state)) { switch (biton32(layer_state)) {
case QWERTY: case QWERTY:
// Scrolling with PageUp and PgDn. // Scrolling with Mouse wheel.
if (clockwise) { if (clockwise) {
tap_code(KC_PGDN); tap_code(KC_WH_D);
} else { } else {
tap_code(KC_PGUP); tap_code(KC_WH_U);
} }
break; break;
default: default: