summaryrefslogtreecommitdiff
path: root/keyboards/splitkb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r--keyboards/splitkb/zima/config.h15
-rw-r--r--keyboards/splitkb/zima/info.json8
2 files changed, 8 insertions, 15 deletions
diff --git a/keyboards/splitkb/zima/config.h b/keyboards/splitkb/zima/config.h
index c4782567ff..777c56465f 100644
--- a/keyboards/splitkb/zima/config.h
+++ b/keyboards/splitkb/zima/config.h
@@ -17,21 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/* key matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 3
-
-/*
- * Keyboard Matrix Assignments
- */
-#define DIRECT_PINS { \
- { C6, D6, D5 }, \
- { C7, F7, D4 }, \
- { E6, F5, F6 }, \
- { F0, F1, F4 }, \
-}
-
#define ENCODERS_PAD_A { B4 }
#define ENCODERS_PAD_B { D7 }
diff --git a/keyboards/splitkb/zima/info.json b/keyboards/splitkb/zima/info.json
index 744efd5b76..a38404cc97 100644
--- a/keyboards/splitkb/zima/info.json
+++ b/keyboards/splitkb/zima/info.json
@@ -10,6 +10,14 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["C6", "D6", "D5"],
+ ["C7", "F7", "D4"],
+ ["E6", "F5", "F6"],
+ ["F0", "F1", "F4"]
+ ]
+ },
"layouts": {
"LAYOUT_ortho_4x3": {
"layout": [