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/linworks/fave87/config.h | 6 ------ keyboards/linworks/fave87/info.json | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/linworks/fave87') diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index 37aa1a68fc..b0d41d41df 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h @@ -18,12 +18,6 @@ along with this program. If not, see . /* Force USB NKRO */ #define FORCE_NKRO -#define MATRIX_ROW_PINS { D3, D5, D1, D2, D4, D0, F5, F4, F7, F6, B5, B4 } -#define MATRIX_COL_PINS { F1, F0, E6, B0, B1, B2, B3, D6, D7 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - /* Underglow */ #define RGB_DI_PIN E2 #define RGBLED_NUM 40 diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json index b6ac9b78c1..31465eca2e 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/info.json @@ -7,6 +7,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F1", "F0", "E6", "B0", "B1", "B2", "B3", "D6", "D7"], + "rows": ["D3", "D5", "D1", "D2", "D4", "D0", "F5", "F4", "F7", "F6", "B5", "B4"] + }, + "diode_direction": "ROW2COL", "backlight": { "pin": "B7", "breathing": true -- cgit v1.2.3