Update 'keyboards/kyria/keymaps/frederik/keymap.c'
Changed page up and down for mouse wheel
This commit is contained in:
parent
09c0991445
commit
b9e26aab3a
@ -359,11 +359,11 @@ void encoder_update_user(uint8_t index, bool clockwise) {
|
||||
} else if (index == 1) {
|
||||
switch (biton32(layer_state)) {
|
||||
case QWERTY:
|
||||
// Scrolling with PageUp and PgDn.
|
||||
// Scrolling with Mouse wheel.
|
||||
if (clockwise) {
|
||||
tap_code(KC_PGDN);
|
||||
tap_code(KC_WH_D);
|
||||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
tap_code(KC_WH_U);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user