From dd086a51d82a574a55eb3b89e8943301d72296f3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 10 Mar 2023 22:16:56 +1100 Subject: Move matrix config to info.json, part 2 (#19987) --- keyboards/hub20/config.h | 6 ------ keyboards/hub20/info.json | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/hub20') 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 . #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"}, -- cgit v1.2.3