diff options
author | QMK Bot <hello@qmk.fm> | 2022-12-27 19:39:29 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-12-27 19:39:29 +0000 |
commit | 3232f52efbe23a0a368715e4dd111d3ce0ab838f (patch) | |
tree | 2ad1e82f5b20f4c51ace00136950ab1ba42204ae /keyboards | |
parent | 517f8af99ec26c6808bedf47af3c964c5cd186a8 (diff) | |
parent | 95e97fa8397eaccec1972e4233f89349cd4f06ca (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/splitkb/aurora/lily58/lily58.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/keyboards/splitkb/aurora/lily58/lily58.c b/keyboards/splitkb/aurora/lily58/lily58.c index 91e7815c57..828ac84f47 100644 --- a/keyboards/splitkb/aurora/lily58/lily58.c +++ b/keyboards/splitkb/aurora/lily58/lily58.c @@ -286,8 +286,8 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) { return false; } - // 0 and 1 are left-half encoders, - // 2 and 3 are right-half encoders + // 0 is left-half encoder, + // 1 is right-half encoder if (index == 0) { // Volume control if (clockwise) { @@ -296,20 +296,6 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { tap_code(KC_VOLD); } } else if (index == 1) { - // Volume control - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } else if (index == 2) { - // Page up/Page down - if (clockwise) { - tap_code(KC_PGDN); - } else { - tap_code(KC_PGUP); - } - } else if (index == 3) { // Page up/Page down if (clockwise) { tap_code(KC_PGDN); |