summaryrefslogtreecommitdiffstats
path: root/keyboards/takashicompany/spreadwriter
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/takashicompany/spreadwriter')
-rw-r--r--keyboards/takashicompany/spreadwriter/keymaps/via/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/takashicompany/spreadwriter/keymaps/via/keymap.c b/keyboards/takashicompany/spreadwriter/keymaps/via/keymap.c
index e5372cd1cd..cf031394f1 100644
--- a/keyboards/takashicompany/spreadwriter/keymaps/via/keymap.c
+++ b/keyboards/takashicompany/spreadwriter/keymaps/via/keymap.c
@@ -79,7 +79,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_WH_U, KC_WH_D) },
[1 ... 6] = { ENCODER_CCW_CW(_______, _______) },
};