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/ncc1701kb/config.h | 8 -------- keyboards/ncc1701kb/info.json | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'keyboards/ncc1701kb') diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h index adfe863976..bd03d32227 100644 --- a/keyboards/ncc1701kb/config.h +++ b/keyboards/ncc1701kb/config.h @@ -17,12 +17,4 @@ along with this program. If not, see . #pragma once - -/* NCC-1701-KB PCB default pin-out */ -#define MATRIX_ROW_PINS { D4, D6, D7 } -#define MATRIX_COL_PINS { B4, B5, B6 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - #define TAPPING_TERM 200 diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/info.json index 828eefef02..61a4c20e8f 100644 --- a/keyboards/ncc1701kb/info.json +++ b/keyboards/ncc1701kb/info.json @@ -8,6 +8,11 @@ "pid": "0x1701", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B4", "B5", "B6"], + "rows": ["D4", "D6", "D7"] + }, + "diode_direction": "ROW2COL", "backlight": { "pin": "B7", "breathing": true -- cgit v1.2.3