Changed encoded functionality fir fortary encoders

This commit is contained in:
2024-05-28 14:37:29 +01:00
parent ef75f84b39
commit 16c4be1e57

View File

@@ -106,16 +106,16 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
if (index == 0) { if (index == 0) {
// Volume control // Volume control
if (clockwise) { if (clockwise) {
tap_code(KC_VOLU); tap_code(KC_WH_R);
} else { } else {
tap_code(KC_VOLD); tap_code(KC_WH_L);
} }
} else if (index == 1) { } else if (index == 1) {
// Page up/Page down // Page up/Page down
if (clockwise) { if (clockwise) {
tap_code(KC_PGDN); tap_code(KC_WH_D);
} else { } else {
tap_code(KC_PGUP); tap_code(KC_WH_U);
} }
} }
return true; return true;