summaryrefslogtreecommitdiff
path: root/keyboards/macro3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/macro3')
-rw-r--r--keyboards/macro3/config.h10
-rw-r--r--keyboards/macro3/info.json6
2 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/macro3/config.h b/keyboards/macro3/config.h
index 81ff5f5223..714f796f48 100644
--- a/keyboards/macro3/config.h
+++ b/keyboards/macro3/config.h
@@ -5,15 +5,5 @@
#pragma once
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 4
-
-/* key matrix pins */
-#define DIRECT_PINS { \
- { D7, C6, D4, D1 }, \
- { B1, B4, B5, B3 } \
-}
-
#define ENCODERS_PAD_A { D2, F7 }
#define ENCODERS_PAD_B { D3, F6 }
diff --git a/keyboards/macro3/info.json b/keyboards/macro3/info.json
index 830abdb9e9..d8479b2a00 100644
--- a/keyboards/macro3/info.json
+++ b/keyboards/macro3/info.json
@@ -10,6 +10,12 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "matrix_pins": {
+ "direct": [
+ ["D7", "C6", "D4", "D1"],
+ ["B1", "B4", "B5", "B3"]
+ ]
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x4"
},