summaryrefslogtreecommitdiffstats
path: root/keyboards/1k
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-14 18:39:41 +1100
committerGitHub <noreply@github.com>2023-02-14 00:39:41 -0700
commit2cdf99ae950a82e233482347651b7689c4896827 (patch)
treef26def8c2fd844dad22095d5223fb539b7413ad0 /keyboards/1k
parent0b796b91a352c6084ed0b4c0f5aa99cc9d2fa07c (diff)
Migrate `DIRECT_PINS` to data driven (#19826)
Diffstat (limited to 'keyboards/1k')
-rw-r--r--keyboards/1k/config.h12
-rw-r--r--keyboards/1k/info.json5
2 files changed, 5 insertions, 12 deletions
diff --git a/keyboards/1k/config.h b/keyboards/1k/config.h
index f5d74426ef..1e970661c0 100644
--- a/keyboards/1k/config.h
+++ b/keyboards/1k/config.h
@@ -15,18 +15,6 @@
*/
#pragma once
-
-/* matrix size */
-#define MATRIX_ROWS 1
-#define MATRIX_COLS 1
-
-/*
- * Keyboard Matrix Assignments
- *
- * On this board we have direct connection: no diodes.
- */
-#define DIRECT_PINS {{ B0 }}
-
#define RGBLED_NUM 1
#define RGB_DI_PIN B2
diff --git a/keyboards/1k/info.json b/keyboards/1k/info.json
index 0c2de31808..8a27d94862 100644
--- a/keyboards/1k/info.json
+++ b/keyboards/1k/info.json
@@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "direct": [
+ ["B0"]
+ ]
+ },
"layouts": {
"LAYOUT_ortho_1x1": {
"layout": [