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/adm42/config.h | 3 --- keyboards/adm42/info.json | 5 +++++ keyboards/adm42/rev4/config.h | 3 --- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'keyboards/adm42') diff --git a/keyboards/adm42/config.h b/keyboards/adm42/config.h index 03749906e8..af23da4c66 100644 --- a/keyboards/adm42/config.h +++ b/keyboards/adm42/config.h @@ -16,9 +16,6 @@ #pragma once - -#define DIODE_DIRECTION ROW2COL - #define TAP_CODE_DELAY 1 #if defined(CONSOLE_ENABLE) diff --git a/keyboards/adm42/info.json b/keyboards/adm42/info.json index 3596cdb446..5d518c3b86 100644 --- a/keyboards/adm42/info.json +++ b/keyboards/adm42/info.json @@ -9,6 +9,11 @@ "pid": "0xE873", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "F0", "F1", "F4", "F5", "F6", "F7"], + "rows": ["C7", "D5", "D3", "D2"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/adm42/rev4/config.h b/keyboards/adm42/rev4/config.h index fa2bcb3e43..73a212910a 100644 --- a/keyboards/adm42/rev4/config.h +++ b/keyboards/adm42/rev4/config.h @@ -16,9 +16,6 @@ #pragma once -#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, F0, F1, F4, F5, F6, F7 } -#define MATRIX_ROW_PINS { C7, D5, D3, D2 } - #define ADM42_LED E6 #define RGB_DI_PIN B7 -- cgit v1.2.3