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/waterfowl/config.h | 7 ------- keyboards/waterfowl/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/waterfowl') diff --git a/keyboards/waterfowl/config.h b/keyboards/waterfowl/config.h index 62f5ba6633..40d9a4b8da 100644 --- a/keyboards/waterfowl/config.h +++ b/keyboards/waterfowl/config.h @@ -16,13 +16,6 @@ #pragma once -// Wiring -#define MATRIX_ROW_PINS { D4, C6, D7, E6 } -#define MATRIX_COL_PINS { F4, F5, F6, F7, B1 } - -// COL2ROW, ROW2COL -#define DIODE_DIRECTION COL2ROW - #define OLED_DISPLAY_128X64 #define SPLIT_MODS_ENABLE #define SPLIT_WPM_ENABLE diff --git a/keyboards/waterfowl/info.json b/keyboards/waterfowl/info.json index 17f01e24e2..0ee5b095b1 100644 --- a/keyboards/waterfowl/info.json +++ b/keyboards/waterfowl/info.json @@ -8,6 +8,11 @@ "pid": "0x9CE3", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F4", "F5", "F6", "F7", "B1"], + "rows": ["D4", "C6", "D7", "E6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B4", "pin_b": "B5"}, -- cgit v1.2.3