diff options
author | QMK Bot <hello@qmk.fm> | 2023-07-06 06:43:33 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-07-06 06:43:33 +0000 |
commit | 29761a57666820e757c4e1ed76ddafb883a956d7 (patch) | |
tree | 08fff137a6f70cfc5c2078e3bb5509b13f4cabb5 /keyboards/keebio/nyquist/keymaps/via/keymap.c | |
parent | aeb05de0c0572e143b8d5ef4875e6a05fc2495d5 (diff) | |
parent | f19a0a071f1dbd8f50e7f4039b4607cf4bc2ba94 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keebio/nyquist/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/keebio/nyquist/keymaps/via/keymap.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/keebio/nyquist/keymaps/via/keymap.c b/keyboards/keebio/nyquist/keymaps/via/keymap.c index 5d986e69a0..6d37f4f9b5 100644 --- a/keyboards/keebio/nyquist/keymaps/via/keymap.c +++ b/keyboards/keebio/nyquist/keymaps/via/keymap.c @@ -44,3 +44,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) }; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, + [1] = { ENCODER_CCW_CW(RGB_MOD, RGB_RMOD), ENCODER_CCW_CW(KC_MNXT, KC_MPRV) }, + [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, + [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) } +}; +#endif |