Update 'keyboards/kyria/keymaps/frederik/keymap.c'

Changed page up and down for mouse wheel
This commit is contained in:
Frederik Baerentsen 2020-03-24 08:57:36 +01:00
parent 09c0991445
commit b9e26aab3a

View File

@ -359,11 +359,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: