diff options
author | QMK Bot <hello@qmk.fm> | 2022-09-19 19:27:27 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-09-19 19:27:27 +0000 |
commit | 0803e2ec00c51ae026cdcb2afc7018db8ba706fa (patch) | |
tree | 69ce2672533ad8a4a134011b8b557de3dece9bf6 /keyboards/keebio/quefrency/keymaps/via | |
parent | e517790b5e50a551faa4ecc50bb1a894639a0b50 (diff) | |
parent | 41fdf32afb34e09946822c2aebcf26915e9c6d2a (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keebio/quefrency/keymaps/via')
-rw-r--r-- | keyboards/keebio/quefrency/keymaps/via/keymap.c | 9 | ||||
-rw-r--r-- | keyboards/keebio/quefrency/keymaps/via/rules.mk | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/keebio/quefrency/keymaps/via/keymap.c b/keyboards/keebio/quefrency/keymaps/via/keymap.c index 5ac83ef57c..ad6cfd84eb 100644 --- a/keyboards/keebio/quefrency/keymaps/via/keymap.c +++ b/keyboards/keebio/quefrency/keymaps/via/keymap.c @@ -33,3 +33,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) }; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_PGUP, KC_PGDN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, + [2] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }, + [3] = { ENCODER_CCW_CW(RGB_SPD, RGB_SPI), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }, +}; +#endif diff --git a/keyboards/keebio/quefrency/keymaps/via/rules.mk b/keyboards/keebio/quefrency/keymaps/via/rules.mk index 36b7ba9cbc..1189f4ad19 100644 --- a/keyboards/keebio/quefrency/keymaps/via/rules.mk +++ b/keyboards/keebio/quefrency/keymaps/via/rules.mk @@ -1,2 +1,3 @@ VIA_ENABLE = yes LTO_ENABLE = yes +ENCODER_MAP_ENABLE = yes |