summaryrefslogtreecommitdiff
path: root/keyboards/terrazzo
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:34:34 +1100
committerGitHub <noreply@github.com>2023-03-11 00:34:34 +1100
commitace372d90de13dafc815df5d8049497cb351b69b (patch)
tree0eb4793443956fbc60a1cfca5c1f1e556422ce66 /keyboards/terrazzo
parent76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff)
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/terrazzo')
-rw-r--r--keyboards/terrazzo/config.h10
-rw-r--r--keyboards/terrazzo/info.json5
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/terrazzo/config.h b/keyboards/terrazzo/config.h
index 6c0cbb80b9..0c7a09033d 100644
--- a/keyboards/terrazzo/config.h
+++ b/keyboards/terrazzo/config.h
@@ -15,16 +15,6 @@
*/
#pragma once
-
-/* key matrix pins */
-
-// SWAP FOR PRO MICRO
-// #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3 }
-#define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3, F0 }
-#define MATRIX_COL_PINS { D3, F4, F5, F6, F7, B1 }
-
-#define DIODE_DIRECTION COL2ROW
-
#ifdef LED_MATRIX_ENABLE
#define LED_DRIVER_ADDR_1 0x74
diff --git a/keyboards/terrazzo/info.json b/keyboards/terrazzo/info.json
index fb59374d1d..6a161c0db0 100644
--- a/keyboards/terrazzo/info.json
+++ b/keyboards/terrazzo/info.json
@@ -8,6 +8,11 @@
"pid": "0x545A",
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["D3", "F4", "F5", "F6", "F7", "B1"],
+ "rows": ["D2", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "F0"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C6", "pin_b": "D4", "resolution": 2},