From 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:32:05 +1100 Subject: Move matrix config to info.json, part 6 (#20019) --- keyboards/coarse/vinta/config.h | 8 -------- keyboards/coarse/vinta/info.json | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 keyboards/coarse/vinta/config.h (limited to 'keyboards/coarse/vinta') diff --git a/keyboards/coarse/vinta/config.h b/keyboards/coarse/vinta/config.h deleted file mode 100644 index 629f4b9b16..0000000000 --- a/keyboards/coarse/vinta/config.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - - -#define MATRIX_ROW_PINS { A10, A9, B0, A7, A6 } -#define MATRIX_COL_PINS { A5, A4, A3, A2, A1, A0, F1, F0, B7, B6, B5, B4, B3, A15, A14, A13 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/coarse/vinta/info.json b/keyboards/coarse/vinta/info.json index 8a615aac0d..0caf3a3e33 100644 --- a/keyboards/coarse/vinta/info.json +++ b/keyboards/coarse/vinta/info.json @@ -8,6 +8,11 @@ "pid": "0x0C61", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["A5", "A4", "A3", "A2", "A1", "A0", "F1", "F0", "B7", "B6", "B5", "B4", "B3", "A15", "A14", "A13"], + "rows": ["A10", "A9", "B0", "A7", "A6"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F042", "bootloader": "stm32-dfu", "debounce": 0, -- cgit v1.2.3