diff options
author | Joel Challis <git@zvecr.com> | 2023-07-03 01:19:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 01:19:52 +0100 |
commit | 583c68893155e37dfd0b35a58dc1044cb714a418 (patch) | |
tree | 05c5bae5acbc19186d9075ce66715f8bda48754e /keyboards/nightly_boards/n40_o/keymaps | |
parent | d2fd9e1773a454719940b3e033b6890cd6ddd720 (diff) |
Fix encoder map declarations (#21435)
Diffstat (limited to 'keyboards/nightly_boards/n40_o/keymaps')
-rw-r--r-- | keyboards/nightly_boards/n40_o/keymaps/via/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/nightly_boards/n40_o/keymaps/via/keymap.c b/keyboards/nightly_boards/n40_o/keymaps/via/keymap.c index f7b9d08c05..e9ddb71401 100644 --- a/keyboards/nightly_boards/n40_o/keymaps/via/keymap.c +++ b/keyboards/nightly_boards/n40_o/keymaps/via/keymap.c @@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; #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_PGUP, KC_PGDN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, [1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) } }; |