From ace372d90de13dafc815df5d8049497cb351b69b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:34:34 +1100 Subject: Move matrix config to info.json, part 3 (#19991) Co-authored-by: Nick Brassel --- keyboards/redox/rev1/proton_c/config.h | 7 ------- keyboards/redox/rev1/proton_c/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/redox/rev1/proton_c') diff --git a/keyboards/redox/rev1/proton_c/config.h b/keyboards/redox/rev1/proton_c/config.h index 71d3470569..c32700fda9 100644 --- a/keyboards/redox/rev1/proton_c/config.h +++ b/keyboards/redox/rev1/proton_c/config.h @@ -3,13 +3,6 @@ #pragma once - -// wiring of each half -#undef MATRIX_ROW_PINS -#define MATRIX_ROW_PINS { B5, B3, B2, B1, B0 } -#undef MATRIX_COL_PINS -#define MATRIX_COL_PINS { A1, A0, B8, B13, B14, B15, B9 } - // //we are using hardware serial, so lets undef the softserial used otherwise /* serial.c configuration for split keyboard */ diff --git a/keyboards/redox/rev1/proton_c/info.json b/keyboards/redox/rev1/proton_c/info.json index 4f6bae6891..5d5358adb0 100644 --- a/keyboards/redox/rev1/proton_c/info.json +++ b/keyboards/redox/rev1/proton_c/info.json @@ -2,6 +2,11 @@ "usb": { "device_version": "1.0.1" }, + "matrix_pins": { + "cols": ["A1", "A0", "B8", "B13", "B14", "B15", "B9"], + "rows": ["B5", "B3", "B2", "B1", "B0"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C" -- cgit v1.2.3