summaryrefslogtreecommitdiff
path: root/keyboards/cest73/tkm
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:32:05 +1100
committerGitHub <noreply@github.com>2023-03-11 00:32:05 +1100
commit76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch)
treef25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/cest73/tkm
parent9e64300e67720a5468c2585391250ca5579b311b (diff)
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/cest73/tkm')
-rw-r--r--keyboards/cest73/tkm/config.h13
-rw-r--r--keyboards/cest73/tkm/info.json5
2 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/cest73/tkm/config.h b/keyboards/cest73/tkm/config.h
index 062d3434eb..9b6132cbdb 100644
--- a/keyboards/cest73/tkm/config.h
+++ b/keyboards/cest73/tkm/config.h
@@ -15,18 +15,5 @@
*/
#pragma once
-
-/* matrix sz handy ruler: 1 2 3 4 5 6 7 8 9 10 11 12 */
-/* key matrix pins */
-/* row handy ruler: r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 */
-#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7, C6, C7, D0 }
-/* column handy ruler: c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 */
-#define MATRIX_COL_PINS { D1, D2, D3, D4, D5, D6, D7, F0, F1, F4 }
-
-//NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* force n-key rollover*/
#define FORCE_NKRO
diff --git a/keyboards/cest73/tkm/info.json b/keyboards/cest73/tkm/info.json
index 6054f24467..e55973be0f 100644
--- a/keyboards/cest73/tkm/info.json
+++ b/keyboards/cest73/tkm/info.json
@@ -8,6 +8,11 @@
"pid": "0xAA55",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D1", "D2", "D3", "D4", "D5", "D6", "D7", "F0", "F1", "F4"],
+ "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "C6", "C7", "D0"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "E6"
},