diff options
author | QMK Bot <hello@qmk.fm> | 2022-10-26 20:44:46 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-10-26 20:44:46 +0000 |
commit | d311d86ddf97e4387099f2d4e1479314ea958c47 (patch) | |
tree | 4ad9951ee5436f0101cb7874670bbf4e27ca29d7 /keyboards/keebio/sinc/keymaps/via | |
parent | d05334cfabafdf93d2604571f6296b3ce592a684 (diff) | |
parent | 42c240f6cfe697744cdf876ace1e7273f43db60d (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keebio/sinc/keymaps/via')
-rw-r--r-- | keyboards/keebio/sinc/keymaps/via/keymap.c | 9 | ||||
-rw-r--r-- | keyboards/keebio/sinc/keymaps/via/rules.mk | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/keebio/sinc/keymaps/via/keymap.c b/keyboards/keebio/sinc/keymaps/via/keymap.c index 3d0b859cb8..8101c82bfb 100644 --- a/keyboards/keebio/sinc/keymaps/via/keymap.c +++ b/keyboards/keebio/sinc/keymaps/via/keymap.c @@ -37,3 +37,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_VOLU, KC_VOLD), 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 diff --git a/keyboards/keebio/sinc/keymaps/via/rules.mk b/keyboards/keebio/sinc/keymaps/via/rules.mk index 36b7ba9cbc..1189f4ad19 100644 --- a/keyboards/keebio/sinc/keymaps/via/rules.mk +++ b/keyboards/keebio/sinc/keymaps/via/rules.mk @@ -1,2 +1,3 @@ VIA_ENABLE = yes LTO_ENABLE = yes +ENCODER_MAP_ENABLE = yes |