summaryrefslogtreecommitdiffstats
path: root/keyboards/sofle/keymaps
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-07-03 01:19:52 +0100
committerGitHub <noreply@github.com>2023-07-03 01:19:52 +0100
commit583c68893155e37dfd0b35a58dc1044cb714a418 (patch)
tree05c5bae5acbc19186d9075ce66715f8bda48754e /keyboards/sofle/keymaps
parentd2fd9e1773a454719940b3e033b6890cd6ddd720 (diff)
Fix encoder map declarations (#21435)
Diffstat (limited to 'keyboards/sofle/keymaps')
-rw-r--r--keyboards/sofle/keymaps/keyhive_via/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/sofle/keymaps/keyhive_via/keymap.c b/keyboards/sofle/keymaps/keyhive_via/keymap.c
index e614873845..8af870c574 100644
--- a/keyboards/sofle/keymaps/keyhive_via/keymap.c
+++ b/keyboards/sofle/keymaps/keyhive_via/keymap.c
@@ -169,7 +169,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
};
#ifdef ENCODER_MAP_ENABLE
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_BSPC, KC_DEL), ENCODER_CCW_CW(KC_PGDN, KC_PGUP) },
[1] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
[2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },