From 1022afa6c24a64c78d1c9be99a695ff5335876f7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 04:59:07 +1100 Subject: Move matrix config to info.json, part 8 (#20030) --- keyboards/keycapsss/plaid_pad/config.h | 7 ------- keyboards/keycapsss/plaid_pad/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/keycapsss/plaid_pad') diff --git a/keyboards/keycapsss/plaid_pad/config.h b/keyboards/keycapsss/plaid_pad/config.h index 5825367ac1..0ac7d2ee62 100644 --- a/keyboards/keycapsss/plaid_pad/config.h +++ b/keyboards/keycapsss/plaid_pad/config.h @@ -16,13 +16,6 @@ #pragma once - -#define MATRIX_ROW_PINS { C0, C1, C2, C3 } -#define MATRIX_COL_PINS { B0, D7, D6, D5 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define USB_MAX_POWER_CONSUMPTION 100 // Fix for volume controll with encoder (steadily in/decrease) diff --git a/keyboards/keycapsss/plaid_pad/info.json b/keyboards/keycapsss/plaid_pad/info.json index 78fd4adbde..b384789e47 100644 --- a/keyboards/keycapsss/plaid_pad/info.json +++ b/keyboards/keycapsss/plaid_pad/info.json @@ -6,6 +6,11 @@ "vid": "0x7983", "pid": "0x5050" }, + "matrix_pins": { + "cols": ["B0", "D7", "D6", "D5"], + "rows": ["C0", "C1", "C2", "C3"] + }, + "diode_direction": "COL2ROW", "processor": "atmega328p", "bootloader": "usbasploader", "community_layouts": ["ortho_4x4"], -- cgit v1.2.3