Merge branch 'master' of https://gitea.baerentsen.space/FrederikBaerentsen/QMK
This commit is contained in:
commit
18615ea76c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user