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/hfdkb/ac001/config.h | 7 ------- keyboards/hfdkb/ac001/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/hfdkb') diff --git a/keyboards/hfdkb/ac001/config.h b/keyboards/hfdkb/ac001/config.h index a03f9066a9..93cfd37632 100644 --- a/keyboards/hfdkb/ac001/config.h +++ b/keyboards/hfdkb/ac001/config.h @@ -18,13 +18,6 @@ #define FORCE_NKRO -/* key matrix pins */ -#define MATRIX_ROW_PINS { B15} -#define MATRIX_COL_PINS { A5, A6, A7, C4, C5} - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - #define TAP_CODE_DELAY 5 /* ws2812 RGB LED */ diff --git a/keyboards/hfdkb/ac001/info.json b/keyboards/hfdkb/ac001/info.json index 2e1011b7f6..fb4974968b 100644 --- a/keyboards/hfdkb/ac001/info.json +++ b/keyboards/hfdkb/ac001/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A5", "A6", "A7", "C4", "C5"], + "rows": ["B15"] + }, + "diode_direction": "ROW2COL", "processor": "WB32FQ95", "bootloader": "wb32-dfu", "layouts": { -- cgit v1.2.3