From 8c9f54d70b12156781ba5757697079b83dff79a7 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sun, 28 May 2023 13:38:24 +1000 Subject: Encoder map: NUM_DIRECTIONS (#21066) --- keyboards/fancytech/fancyalice66/keymaps/via/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/fancytech') diff --git a/keyboards/fancytech/fancyalice66/keymaps/via/keymap.c b/keyboards/fancytech/fancyalice66/keymaps/via/keymap.c index 1d32c8f5e8..b6b976d6ed 100644 --- a/keyboards/fancytech/fancyalice66/keymaps/via/keymap.c +++ b/keyboards/fancytech/fancyalice66/keymaps/via/keymap.c @@ -50,8 +50,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #if defined(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_VOLD, KC_VOLU) }, [1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) } }; -#endif \ No newline at end of file +#endif -- cgit v1.2.3