diff options
author | XScorpion2 <rcalt2vt@gmail.com> | 2019-06-01 16:39:31 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-01 14:39:31 -0700 |
commit | 4f788c2ae90583f64e0cec6545a3da75a5aff0f8 (patch) | |
tree | fa7f8583fca9839d2c5f3f8b6c5822569c649929 /keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c | |
parent | 02b3fadbac6c68940e1bf141397d5d7cb87a6928 (diff) | |
download | qmk_firmware-4f788c2ae90583f64e0cec6545a3da75a5aff0f8.tar.gz |
[Keymap] Xulkal user changes (#6044)
* Xulkal user changes
Xulkal user changes
* Reduce code duplication
* Massive user code refactor
Diffstat (limited to 'keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c')
-rw-r--r-- | keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c b/keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c index f886cb454..70155e1cd 100644 --- a/keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c +++ b/keyboards/rgbkb/zygomorph/keymaps/xulkal/keymap.c @@ -67,21 +67,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), #endif }; - -#ifdef ENCODER_ENABLE -void encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_PGDN); - } else { - tap_code(KC_PGUP); - } - } else if (index == 1) { /* Second encoder from slave */ - if (clockwise) { - tap_code(KC_UP); - } else { - tap_code(KC_DOWN); - } - } -} -#endif |