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/nemui/config.h | 4 ---- keyboards/nemui/info.json | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'keyboards/nemui') diff --git a/keyboards/nemui/config.h b/keyboards/nemui/config.h index 04f94fe86c..a371cd708d 100644 --- a/keyboards/nemui/config.h +++ b/keyboards/nemui/config.h @@ -16,10 +16,6 @@ */ #pragma once -#define MATRIX_COL_PINS { B2, B1, B0, B10, B11, A7, B12, B13, B14, A10, A9, A8, B7, B8, B9 } -#define MATRIX_ROW_PINS { A3, A4, A5, A6, A2 } -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/nemui/info.json b/keyboards/nemui/info.json index fec7ac2fcb..933961ade7 100644 --- a/keyboards/nemui/info.json +++ b/keyboards/nemui/info.json @@ -8,6 +8,11 @@ "pid": "0x2371", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B2", "B1", "B0", "B10", "B11", "A7", "B12", "B13", "B14", "A10", "A9", "A8", "B7", "B8", "B9"], + "rows": ["A3", "A4", "A5", "A6", "A2"] + }, + "diode_direction": "COL2ROW", "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { -- cgit v1.2.3