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/fortitude60/rev1/config.h | 8 -------- keyboards/fortitude60/rev1/info.json | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'keyboards/fortitude60') diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index 8bd73e135e..1d69f62e70 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h @@ -17,14 +17,6 @@ along with this program. If not, see . #pragma once - -// wiring of each half -#define MATRIX_ROW_PINS { D1, D0, D3, B7, B6 } -#define MATRIX_COL_PINS { F7, F6, F5, B3, B2, B1 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - //#define EE_HANDS #define SPLIT_USB_DETECT diff --git a/keyboards/fortitude60/rev1/info.json b/keyboards/fortitude60/rev1/info.json index e2aa377324..19215647ab 100644 --- a/keyboards/fortitude60/rev1/info.json +++ b/keyboards/fortitude60/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x1156", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["F7", "F6", "F5", "B3", "B2", "B1"], + "rows": ["D1", "D0", "D3", "B7", "B6"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B5", "levels": 9 -- cgit v1.2.3