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/trashman/ketch/config.h | 4 ---- keyboards/trashman/ketch/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/trashman') diff --git a/keyboards/trashman/ketch/config.h b/keyboards/trashman/ketch/config.h index 4889ef5c18..f1e3c21e7c 100644 --- a/keyboards/trashman/ketch/config.h +++ b/keyboards/trashman/ketch/config.h @@ -22,10 +22,6 @@ SOFTWARE. #pragma once -#define MATRIX_ROW_PINS { F5, F1, F0, F7, B6, F6 } -#define MATRIX_COL_PINS { D0, D1, D2, D3, D4, D5, D6, D7 } -#define DIODE_DIRECTION COL2ROW - #define USB_MAX_POWER_CONSUMPTION 100 #define RGB_DI_PIN F4 #define RGBLED_NUM 10 diff --git a/keyboards/trashman/ketch/info.json b/keyboards/trashman/ketch/info.json index 57c6289d0d..e624507210 100644 --- a/keyboards/trashman/ketch/info.json +++ b/keyboards/trashman/ketch/info.json @@ -8,6 +8,11 @@ "pid": "0x8947", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], + "rows": ["F5", "F1", "F0", "F7", "B6", "F6"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3