From caa8c81086a806ea048c91ba142d424dc6a49f50 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:39:56 +1100 Subject: Move matrix config to info.json, part 7 (#20020) --- keyboards/matrix/falcon/config.h | 6 ------ keyboards/matrix/falcon/info.json | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/matrix/falcon') diff --git a/keyboards/matrix/falcon/config.h b/keyboards/matrix/falcon/config.h index ea2e015af4..21177855ec 100644 --- a/keyboards/matrix/falcon/config.h +++ b/keyboards/matrix/falcon/config.h @@ -15,12 +15,6 @@ */ #pragma once - -#define MATRIX_ROW_PINS { F1, B7, F7, F5, F4} -#define MATRIX_COL_PINS { F6, B3, B2, B1, B0, C7, C6, B6, B5, B4, D7, D6, D4} - -#define DIODE_DIRECTION ROW2COL - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/matrix/falcon/info.json b/keyboards/matrix/falcon/info.json index e52ffa1c74..c692e1c4ee 100644 --- a/keyboards/matrix/falcon/info.json +++ b/keyboards/matrix/falcon/info.json @@ -8,6 +8,11 @@ "pid": "0x474E", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F6", "B3", "B2", "B1", "B0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"], + "rows": ["F1", "B7", "F7", "F5", "F4"] + }, + "diode_direction": "ROW2COL", "indicators": { "caps_lock": "E2" }, -- cgit v1.2.3