summaryrefslogtreecommitdiff
path: root/keyboards/hub20
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-10 22:16:56 +1100
committerGitHub <noreply@github.com>2023-03-10 22:16:56 +1100
commitdd086a51d82a574a55eb3b89e8943301d72296f3 (patch)
treedb49e94d90e9f3a8a6cf72a9da0d5549dd2a9bcb /keyboards/hub20
parent80661e5f1981af4d50a32d41e136e9586d5f5a43 (diff)
Move matrix config to info.json, part 2 (#19987)
Diffstat (limited to 'keyboards/hub20')
-rw-r--r--keyboards/hub20/config.h6
-rw-r--r--keyboards/hub20/info.json5
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/hub20/config.h b/keyboards/hub20/config.h
index 41a98ac983..c619b2d24d 100644
--- a/keyboards/hub20/config.h
+++ b/keyboards/hub20/config.h
@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define MATRIX_ROW_PINS { A13, B14, A10, A0, A2, A1 }
-#define MATRIX_COL_PINS { A6, A7, B7, B6 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN B15
#define RGBLED_NUM 27
diff --git a/keyboards/hub20/info.json b/keyboards/hub20/info.json
index 10ec779fdf..a577b70f6b 100644
--- a/keyboards/hub20/info.json
+++ b/keyboards/hub20/info.json
@@ -8,6 +8,11 @@
"pid": "0x4414",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["A6", "A7", "B7", "B6"],
+ "rows": ["A13", "B14", "A10", "A0", "A2", "A1"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B12", "pin_b": "B13"},