summaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/tbkmini/v1/elitec
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:00:24 +1100
committerGitHub <noreply@github.com>2023-03-11 00:00:24 +1100
commit9e64300e67720a5468c2585391250ca5579b311b (patch)
treed8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/bastardkb/tbkmini/v1/elitec
parentdd086a51d82a574a55eb3b89e8943301d72296f3 (diff)
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/bastardkb/tbkmini/v1/elitec')
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/config.h6
-rw-r--r--keyboards/bastardkb/tbkmini/v1/elitec/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/config.h b/keyboards/bastardkb/tbkmini/v1/elitec/config.h
index c17e20b3d7..384e19c3d2 100644
--- a/keyboards/bastardkb/tbkmini/v1/elitec/config.h
+++ b/keyboards/bastardkb/tbkmini/v1/elitec/config.h
@@ -18,12 +18,6 @@
#pragma once
-/* Key matrix configuration. */
-#define MATRIX_ROW_PINS \
- { B5, F7, F6, B6 }
-#define MATRIX_COL_PINS \
- { B4, E6, C6, B1, B3, B2 }
-
/* Handedness. */
#define MASTER_RIGHT
diff --git a/keyboards/bastardkb/tbkmini/v1/elitec/info.json b/keyboards/bastardkb/tbkmini/v1/elitec/info.json
index 4fee403604..bc311eb815 100644
--- a/keyboards/bastardkb/tbkmini/v1/elitec/info.json
+++ b/keyboards/bastardkb/tbkmini/v1/elitec/info.json
@@ -3,6 +3,11 @@
"usb": {
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["B4", "E6", "C6", "B1", "B3", "B2"],
+ "rows": ["B5", "F7", "F6", "B6"]
+ },
+ "diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D0"
},