From 9e64300e67720a5468c2585391250ca5579b311b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:00:24 +1100 Subject: Move matrix config to info.json, part 4 (#20001) --- keyboards/bluebell/swoop/config.h | 5 ----- keyboards/bluebell/swoop/info.json | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'keyboards/bluebell') diff --git a/keyboards/bluebell/swoop/config.h b/keyboards/bluebell/swoop/config.h index de47d3a071..f46df6af82 100644 --- a/keyboards/bluebell/swoop/config.h +++ b/keyboards/bluebell/swoop/config.h @@ -15,11 +15,6 @@ */ #pragma once -// wiring of each half -#define MATRIX_ROW_PINS { D4, C6, D7, E6 } -#define MATRIX_COL_PINS { B1, F7, F6, F5, F4 } -#define DIODE_DIRECTION COL2ROW - #define EE_HANDS // OLED driver diff --git a/keyboards/bluebell/swoop/info.json b/keyboards/bluebell/swoop/info.json index 49dcc857e9..7a0adea313 100644 --- a/keyboards/bluebell/swoop/info.json +++ b/keyboards/bluebell/swoop/info.json @@ -8,6 +8,11 @@ "pid": "0x3046", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["B1", "F7", "F6", "F5", "F4"], + "rows": ["D4", "C6", "D7", "E6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B4", "pin_b": "B5"} -- cgit v1.2.3