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/akegata_denki/device_one/config.h | 7 ------- keyboards/akegata_denki/device_one/info.json | 7 ++++++- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 keyboards/akegata_denki/device_one/config.h (limited to 'keyboards/akegata_denki/device_one') diff --git a/keyboards/akegata_denki/device_one/config.h b/keyboards/akegata_denki/device_one/config.h deleted file mode 100644 index dc1e1cded3..0000000000 --- a/keyboards/akegata_denki/device_one/config.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - - -#define MATRIX_ROW_PINS { B1, B0, A9, A8, A0 } -#define MATRIX_COL_PINS { A2, A3, A4, A5, A6, A7, A1, A10, A15, B3, B4, B5, B6, B7, B8} - -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/akegata_denki/device_one/info.json b/keyboards/akegata_denki/device_one/info.json index a00144adf7..59449c4754 100644 --- a/keyboards/akegata_denki/device_one/info.json +++ b/keyboards/akegata_denki/device_one/info.json @@ -6,7 +6,12 @@ "vid": "0xFEED", "pid": "0xADD0", "device_version": "0.0.1" - }, + }, + "matrix_pins": { + "cols": ["A2", "A3", "A4", "A5", "A6", "A7", "A1", "A10", "A15", "B3", "B4", "B5", "B6", "B7", "B8"], + "rows": ["B1", "B0", "A9", "A8", "A0"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F042", "bootloader": "stm32-dfu", "board": "ST_NUCLEO32_F042K6", -- cgit v1.2.3