diff options
author | Sergi Meseguer <[email protected]> | 2021-10-16 04:02:04 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-15 19:02:04 -0700 |
commit | 40badc4413d97226398302fb7a84c83c5c4f03a8 (patch) | |
tree | 521c1f8ccf8aa355b4ad1671425b96283e8abbd7 /keyboards/z12/z12.c | |
parent | b0d293a841977d393c81bef443f7e28f7764ee30 (diff) | |
download | qmk_firmware-40badc4413d97226398302fb7a84c83c5c4f03a8.tar.gz qmk_firmware-40badc4413d97226398302fb7a84c83c5c4f03a8.zip |
[Keymap] zigotica userspace (#14670)
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Diffstat (limited to 'keyboards/z12/z12.c')
-rw-r--r-- | keyboards/z12/z12.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/keyboards/z12/z12.c b/keyboards/z12/z12.c index 99fe62ab93..2af8836cab 100644 --- a/keyboards/z12/z12.c +++ b/keyboards/z12/z12.c @@ -18,22 +18,6 @@ #ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (index == 0) { // LEFT - // Scroll - if (clockwise) { - tap_code_delay(KC_PGDN, 10); - } else { - tap_code_delay(KC_PGUP, 10); - } - } else { // RIGHT - // Volume control. - if (clockwise) { - tap_code_delay(KC_VOLU, 10); - } else { - tap_code_delay(KC_VOLD, 10); - } - } - return false; + return encoder_update_user(index, clockwise); } #endif |