From e933e0411f442fa411d3d5ec488180fee241e2ef Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 05:41:58 +1100 Subject: Move matrix config to info.json, part 5 (#20003) Co-authored-by: Nick Brassel --- keyboards/spaceman/pancake/rev1/feather/config.h | 4 ---- keyboards/spaceman/pancake/rev1/feather/info.json | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 keyboards/spaceman/pancake/rev1/feather/info.json (limited to 'keyboards/spaceman/pancake/rev1/feather') diff --git a/keyboards/spaceman/pancake/rev1/feather/config.h b/keyboards/spaceman/pancake/rev1/feather/config.h index ea6af6336d..9ff72156da 100644 --- a/keyboards/spaceman/pancake/rev1/feather/config.h +++ b/keyboards/spaceman/pancake/rev1/feather/config.h @@ -15,8 +15,4 @@ */ #pragma once -/* Pancake default pinout */ -#define MATRIX_ROW_PINS { B5, D7, C6, D0 } -#define MATRIX_COL_PINS { C7, D6, B7, B6, F0, D2, D3, F1, F4, F5, F6, F7 } - #define VIA_HAS_BROKEN_KEYCODES diff --git a/keyboards/spaceman/pancake/rev1/feather/info.json b/keyboards/spaceman/pancake/rev1/feather/info.json new file mode 100644 index 0000000000..2d8072e7f1 --- /dev/null +++ b/keyboards/spaceman/pancake/rev1/feather/info.json @@ -0,0 +1,7 @@ +{ + "matrix_pins": { + "cols": ["C7", "D6", "B7", "B6", "F0", "D2", "D3", "F1", "F4", "F5", "F6", "F7"], + "rows": ["B5", "D7", "C6", "D0"] + }, + "diode_direction": "COL2ROW" +} -- cgit v1.2.3