diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:34:34 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:34:34 +1100 |
commit | ace372d90de13dafc815df5d8049497cb351b69b (patch) | |
tree | 0eb4793443956fbc60a1cfca5c1f1e556422ce66 /keyboards/redox/rev1/proton_c | |
parent | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff) |
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/redox/rev1/proton_c')
-rw-r--r-- | keyboards/redox/rev1/proton_c/config.h | 7 | ||||
-rw-r--r-- | keyboards/redox/rev1/proton_c/info.json | 5 |
2 files changed, 5 insertions, 7 deletions
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" |