summaryrefslogtreecommitdiffstats
path: root/keyboards/mechwild
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild')
-rw-r--r--keyboards/mechwild/bbs/bbs.c2
-rw-r--r--keyboards/mechwild/bbs/bbs.h26
-rw-r--r--keyboards/mechwild/bbs/config.h16
-rw-r--r--keyboards/mechwild/bbs/info.json68
-rw-r--r--keyboards/mechwild/bde/lefty/info.json4
-rw-r--r--keyboards/mechwild/bde/lefty/keymaps/default/config.h2
-rw-r--r--keyboards/mechwild/bde/lefty/keymaps/fancy/config.h2
-rw-r--r--keyboards/mechwild/bde/lefty/keymaps/via/config.h2
-rw-r--r--keyboards/mechwild/bde/rev2/info.json4
-rw-r--r--keyboards/mechwild/bde/rev2/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/bde/rev2/keymaps/via/config.h2
-rw-r--r--keyboards/mechwild/bde/rev2/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/bde/rev2/rev2.c18
-rw-r--r--keyboards/mechwild/bde/rev2/rev2.h18
-rw-r--r--keyboards/mechwild/bde/righty/info.json4
-rw-r--r--keyboards/mechwild/bde/righty/keymaps/default/config.h3
-rw-r--r--keyboards/mechwild/bde/righty/keymaps/via/config.h2
-rw-r--r--keyboards/mechwild/clunker/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/clunker/keymaps/via/keymap.c2
-rwxr-xr-xkeyboards/mechwild/mercutio/config.h8
-rw-r--r--keyboards/mechwild/mercutio/info.json58
-rw-r--r--keyboards/mechwild/mercutio/keymaps/bongocat/keymap.c2
-rw-r--r--keyboards/mechwild/mercutio/keymaps/default/keymap.c2
-rwxr-xr-xkeyboards/mechwild/mercutio/keymaps/via/keymap.c2
-rwxr-xr-xkeyboards/mechwild/mercutio/mercutio.c21
-rw-r--r--keyboards/mechwild/mercutio/mercutio.h40
-rw-r--r--keyboards/mechwild/mokulua/mirrored/config.h11
-rw-r--r--keyboards/mechwild/mokulua/mirrored/info.json162
-rw-r--r--keyboards/mechwild/mokulua/mirrored/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/mokulua/mirrored/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/mokulua/mirrored/mirrored.c2
-rw-r--r--keyboards/mechwild/mokulua/mirrored/mirrored.h31
-rw-r--r--keyboards/mechwild/mokulua/standard/config.h11
-rw-r--r--keyboards/mechwild/mokulua/standard/info.json160
-rw-r--r--keyboards/mechwild/mokulua/standard/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/mokulua/standard/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/mokulua/standard/standard.c2
-rw-r--r--keyboards/mechwild/mokulua/standard/standard.h31
-rw-r--r--keyboards/mechwild/murphpad/config.h11
-rw-r--r--keyboards/mechwild/murphpad/info.json51
-rw-r--r--keyboards/mechwild/murphpad/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/murphpad/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/murphpad/murphpad.c2
-rw-r--r--keyboards/mechwild/murphpad/murphpad.h48
-rw-r--r--keyboards/mechwild/obe/config.h20
-rw-r--r--keyboards/mechwild/obe/info.json160
-rw-r--r--keyboards/mechwild/obe/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/obe/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/obe/obe.c33
-rw-r--r--keyboards/mechwild/obe/obe.h47
-rw-r--r--keyboards/mechwild/puckbuddy/config.h19
-rw-r--r--keyboards/mechwild/puckbuddy/info.json43
-rw-r--r--keyboards/mechwild/puckbuddy/puckbuddy.h23
-rw-r--r--keyboards/mechwild/sugarglider/info.json4
-rw-r--r--keyboards/mechwild/sugarglider/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/sugarglider/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/waka60/config.h20
-rw-r--r--keyboards/mechwild/waka60/info.json139
-rw-r--r--keyboards/mechwild/waka60/keymaps/audio/keymap.c2
-rw-r--r--keyboards/mechwild/waka60/keymaps/default/keymap.c2
-rw-r--r--keyboards/mechwild/waka60/keymaps/via/keymap.c2
-rw-r--r--keyboards/mechwild/waka60/waka60.c33
-rw-r--r--keyboards/mechwild/waka60/waka60.h49
63 files changed, 549 insertions, 903 deletions
diff --git a/keyboards/mechwild/bbs/bbs.c b/keyboards/mechwild/bbs/bbs.c
index 9a7253e5da..341103c1ab 100644
--- a/keyboards/mechwild/bbs/bbs.c
+++ b/keyboards/mechwild/bbs/bbs.c
@@ -1,7 +1,7 @@
// Copyright 2022 Kyle McCreery (@kylemccreery)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "bbs.h"
+#include "quantum.h"
#ifdef DIP_SWITCH_ENABLE
bool dip_switch_update_kb(uint8_t index, bool active) {
diff --git a/keyboards/mechwild/bbs/bbs.h b/keyboards/mechwild/bbs/bbs.h
deleted file mode 100644
index 2088b68646..0000000000
--- a/keyboards/mechwild/bbs/bbs.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2022 Kyle McCreery (@kylemccreery)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B,\
- k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B,\
- k23, k24, k25, k26, k27, k28 \
-) { \
- { k00, k01, k02, k03, k04, k05 }, \
- { k06, k07, k08, k09, k0A, k0B }, \
- { k10, k11, k12, k13, k14, k15 }, \
- { k16, k17, k18, k19, k1A, k1B }, \
- { k26, k27, k28, k23, k24, k25 } \
-}
diff --git a/keyboards/mechwild/bbs/config.h b/keyboards/mechwild/bbs/config.h
index 10bf4dd23e..a8c1b6243a 100644
--- a/keyboards/mechwild/bbs/config.h
+++ b/keyboards/mechwild/bbs/config.h
@@ -7,22 +7,6 @@
/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
#define DIP_SWITCH_PINS { A0 }
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { B12, B10, B13, B1, B14 }
-#define MATRIX_COL_PINS { B0, A7, A6, A5, A4, A3 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/mechwild/bbs/info.json b/keyboards/mechwild/bbs/info.json
index 0adaf90bf7..beafbac222 100644
--- a/keyboards/mechwild/bbs/info.json
+++ b/keyboards/mechwild/bbs/info.json
@@ -8,6 +8,11 @@
"pid": "0x170E",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B0", "A7", "A6", "A5", "A4", "A3"],
+ "rows": ["B12", "B10", "B13", "B1", "B14"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "C13",
"on_state": 0
@@ -18,38 +23,41 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"label":"k00", "x":0, "y":0.5},
- {"label":"k01", "x":1, "y":0.5},
- {"label":"k02", "x":2, "y":0.25},
- {"label":"k03", "x":3, "y":0.125},
- {"label":"k04", "x":4, "y":0.25},
- {"label":"k05", "x":5, "y":0.25},
- {"label":"k06", "x":6.75, "y":0.25},
- {"label":"k07", "x":7.75, "y":0.25},
- {"label":"k08", "x":8.75, "y":0.125},
- {"label":"k09", "x":9.75, "y":0.25},
- {"label":"k0A", "x":10.75, "y":0.5},
- {"label":"k0B", "x":11.75, "y":0.5},
+ {"matrix": [0, 0], "x": 0, "y": 0.375},
+ {"matrix": [0, 1], "x": 1, "y": 0.375},
+ {"matrix": [0, 2], "x": 2, "y": 0.125},
+ {"matrix": [0, 3], "x": 3, "y": 0},
+ {"matrix": [0, 4], "x": 4, "y": 0.125},
+ {"matrix": [0, 5], "x": 5, "y": 0.125},
+
+ {"matrix": [1, 0], "x": 6.75, "y": 0.125},
+ {"matrix": [1, 1], "x": 7.75, "y": 0.125},
+ {"matrix": [1, 2], "x": 8.75, "y": 0},
+ {"matrix": [1, 3], "x": 9.75, "y": 0.125},
+ {"matrix": [1, 4], "x": 10.75, "y": 0.375},
+ {"matrix": [1, 5], "x": 11.75, "y": 0.375},
+
+ {"matrix": [2, 0], "x": 0, "y": 1.375},
+ {"matrix": [2, 1], "x": 1, "y": 1.375},
+ {"matrix": [2, 2], "x": 2, "y": 1.125},
+ {"matrix": [2, 3], "x": 3, "y": 1},
+ {"matrix": [2, 4], "x": 4, "y": 1.125},
+ {"matrix": [2, 5], "x": 5, "y": 1.125},
+
+ {"matrix": [3, 0], "x": 6.75, "y": 1.125},
+ {"matrix": [3, 1], "x": 7.75, "y": 1.125},
+ {"matrix": [3, 2], "x": 8.75, "y": 1},
+ {"matrix": [3, 3], "x": 9.75, "y": 1.125},
+ {"matrix": [3, 4], "x": 10.75, "y": 1.375},
+ {"matrix": [3, 5], "x": 11.75, "y": 1.375},
- {"label":"k10", "x":0, "y":1.5},
- {"label":"k11", "x":1, "y":1.5},
- {"label":"k12", "x":2, "y":1.25},
- {"label":"k13", "x":3, "y":1.125},
- {"label":"k14", "x":4, "y":1.25},
- {"label":"k15", "x":5, "y":1.25},
- {"label":"k16", "x":6.75, "y":1.25},
- {"label":"k17", "x":7.75, "y":1.25},
- {"label":"k18", "x":8.75, "y":1.125},
- {"label":"k19", "x":9.75, "y":1.25},
- {"label":"k1A", "x":10.75, "y":1.5},
- {"label":"k1B", "x":11.75, "y":1.5},
+ {"matrix": [4, 3], "x": 2.75, "y": 3.125, "h": 1.5},
+ {"matrix": [4, 4], "x": 3.75, "y": 3.125, "h": 1.5},
+ {"matrix": [4, 5], "x": 4.75, "y": 2.875, "h": 1.5},
- {"label":"k23", "x":2.75, "y":3.25, "h":1.5},
- {"label":"k24", "x":3.75, "y":3.25, "h":1.5},
- {"label":"k25", "x":4.75, "y":3, "h":1.5},
- {"label":"k26", "x":7, "y":3, "h":1.5},
- {"label":"k27", "x":8, "y":3.25, "h":1.5},
- {"label":"k28", "x":9, "y":3.25, "h":1.5}
+ {"matrix": [4, 0], "x": 7, "y": 2.875, "h": 1.5},
+ {"matrix": [4, 1], "x": 8, "y": 3.125, "h": 1.5},
+ {"matrix": [4, 2], "x": 9, "y": 3.125, "h": 1.5}
]
}
}
diff --git a/keyboards/mechwild/bde/lefty/info.json b/keyboards/mechwild/bde/lefty/info.json
index 5aa4ac1e80..6def1c9fbe 100644
--- a/keyboards/mechwild/bde/lefty/info.json
+++ b/keyboards/mechwild/bde/lefty/info.json
@@ -11,7 +11,6 @@
"diode_direction": "ROW2COL",
"rgblight": {
"led_count": 16,
- "pin": "D2",
"animations": {
"alternating": true,
"breathing": true,
@@ -25,6 +24,9 @@
"twinkle": true
}
},
+ "ws2812": {
+ "pin": "D2"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/mechwild/bde/lefty/keymaps/default/config.h b/keyboards/mechwild/bde/lefty/keymaps/default/config.h
index 5c2d15a006..c8b98febcd 100644
--- a/keyboards/mechwild/bde/lefty/keymaps/default/config.h
+++ b/keyboards/mechwild/bde/lefty/keymaps/default/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/bde/lefty/keymaps/fancy/config.h b/keyboards/mechwild/bde/lefty/keymaps/fancy/config.h
index 8476c8ccd6..656cf1a794 100644
--- a/keyboards/mechwild/bde/lefty/keymaps/fancy/config.h
+++ b/keyboards/mechwild/bde/lefty/keymaps/fancy/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/bde/lefty/keymaps/via/config.h b/keyboards/mechwild/bde/lefty/keymaps/via/config.h
index 8476c8ccd6..656cf1a794 100644
--- a/keyboards/mechwild/bde/lefty/keymaps/via/config.h
+++ b/keyboards/mechwild/bde/lefty/keymaps/via/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/bde/rev2/info.json b/keyboards/mechwild/bde/rev2/info.json
index 4d27c53895..a50d2abaa5 100644
--- a/keyboards/mechwild/bde/rev2/info.json
+++ b/keyboards/mechwild/bde/rev2/info.json
@@ -16,7 +16,6 @@
"diode_direction": "COL2ROW",
"rgblight": {
"led_count": 8,
- "pin": "B6",
"animations": {
"rainbow_swirl": true
},
@@ -24,6 +23,9 @@
"saturation_steps": 8,
"brightness_steps": 8
},
+ "ws2812": {
+ "pin": "B6"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/mechwild/bde/rev2/keymaps/default/keymap.c b/keyboards/mechwild/bde/rev2/keymaps/default/keymap.c
index 71c71ed7d6..0fcf9b1ece 100644
--- a/keyboards/mechwild/bde/rev2/keymaps/default/keymap.c
+++ b/keyboards/mechwild/bde/rev2/keymaps/default/keymap.c
@@ -60,7 +60,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// If you are not using an encoder, remember to set ENCODER_ENABLE and ENCODER_MAP_ENABLE to no in rules.mk.
#ifdef ENCODER_MAP_ENABLE
- const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
[_FN2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
diff --git a/keyboards/mechwild/bde/rev2/keymaps/via/config.h b/keyboards/mechwild/bde/rev2/keymaps/via/config.h
index d09385ca5d..9630c999ff 100644
--- a/keyboards/mechwild/bde/rev2/keymaps/via/config.h
+++ b/keyboards/mechwild/bde/rev2/keymaps/via/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/bde/rev2/keymaps/via/keymap.c b/keyboards/mechwild/bde/rev2/keymaps/via/keymap.c
index 82427caea9..f65ac3ca3a 100644
--- a/keyboards/mechwild/bde/rev2/keymaps/via/keymap.c
+++ b/keyboards/mechwild/bde/rev2/keymaps/via/keymap.c
@@ -59,7 +59,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] = {
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[_FN1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
[_FN2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
diff --git a/keyboards/mechwild/bde/rev2/rev2.c b/keyboards/mechwild/bde/rev2/rev2.c
index 3dae312e2b..3d83144024 100644
--- a/keyboards/mechwild/bde/rev2/rev2.c
+++ b/keyboards/mechwild/bde/rev2/rev2.c
@@ -14,23 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "rev2.h"
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) { return false; }
- switch (index) {
- case 0:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- }
- return true;
-}
-#endif
+#include "quantum.h"
#ifdef OLED_ENABLE
static const char PROGMEM mw_logo[] = {
diff --git a/keyboards/mechwild/bde/rev2/rev2.h b/keyboards/mechwild/bde/rev2/rev2.h
deleted file mode 100644
index bb37c7ef69..0000000000
--- a/keyboards/mechwild/bde/rev2/rev2.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Copyright 2022 Kyle McCreery
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#pragma once
-
-#include "quantum.h"
diff --git a/keyboards/mechwild/bde/righty/info.json b/keyboards/mechwild/bde/righty/info.json
index af23e6e293..0cf78b35a6 100644
--- a/keyboards/mechwild/bde/righty/info.json
+++ b/keyboards/mechwild/bde/righty/info.json
@@ -11,7 +11,6 @@
"diode_direction": "ROW2COL",
"rgblight": {
"led_count": 16,
- "pin": "D2",
"animations": {
"alternating": true,
"breathing": true,
@@ -25,6 +24,9 @@
"twinkle": true
}
},
+ "ws2812": {
+ "pin": "D2"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/mechwild/bde/righty/keymaps/default/config.h b/keyboards/mechwild/bde/righty/keymaps/default/config.h
index 5c2d15a006..2507b2e612 100644
--- a/keyboards/mechwild/bde/righty/keymaps/default/config.h
+++ b/keyboards/mechwild/bde/righty/keymaps/default/config.h
@@ -15,9 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
-
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/bde/righty/keymaps/via/config.h b/keyboards/mechwild/bde/righty/keymaps/via/config.h
index 5c2d15a006..c8b98febcd 100644
--- a/keyboards/mechwild/bde/righty/keymaps/via/config.h
+++ b/keyboards/mechwild/bde/righty/keymaps/via/config.h
@@ -15,8 +15,6 @@
*/
#pragma once
-/* Making it so you need to hold the modifier and other key for the time together, helps not accidentally hit activate the hold functions of bottom row*/
-#define IGNORE_MOD_TAP_INTERRUPT
/* Setting tap term, helps not accidentally hit activate the hold functions of bottom row*/
#define TAPPING_TERM 250
diff --git a/keyboards/mechwild/clunker/keymaps/default/keymap.c b/keyboards/mechwild/clunker/keymaps/default/keymap.c
index 7981a131c3..fd9c93fe87 100644
--- a/keyboards/mechwild/clunker/keymaps/default/keymap.c
+++ b/keyboards/mechwild/clunker/keymaps/default/keymap.c
@@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#if defined(ENCODER_MAP_ENABLE)
-const uint16_t PROGMEM encoder_map[][1][2] = {
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(KC_LEFT, KC_RIGHT) },
[2] = { ENCODER_CCW_CW(KC_HOME, KC_END) },
diff --git a/keyboards/mechwild/clunker/keymaps/via/keymap.c b/keyboards/mechwild/clunker/keymaps/via/keymap.c
index 7981a131c3..fd9c93fe87 100644
--- a/keyboards/mechwild/clunker/keymaps/via/keymap.c
+++ b/keyboards/mechwild/clunker/keymaps/via/keymap.c
@@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#if defined(ENCODER_MAP_ENABLE)
-const uint16_t PROGMEM encoder_map[][1][2] = {
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(KC_LEFT, KC_RIGHT) },
[2] = { ENCODER_CCW_CW(KC_HOME, KC_END) },