Fix encoderindex

This commit is contained in:
harvey-splitkb 2024-10-22 12:44:22 +02:00 committed by GitHub
parent a3692c4d53
commit 982436af9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code(KC_VOLD);
}
} else if (index == 2) {
} else if (index == 1) {
// Page up/Page down
if (clockwise) {
tap_code(KC_PGDN);
@ -225,4 +225,4 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
}
return false;
}
#endif
#endif