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/neson_design/700e/config.h | 5 ----- keyboards/neson_design/700e/info.json | 5 +++++ keyboards/neson_design/n6/config.h | 5 ----- keyboards/neson_design/n6/info.json | 5 +++++ 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'keyboards/neson_design') diff --git a/keyboards/neson_design/700e/config.h b/keyboards/neson_design/700e/config.h index 2c1b62448e..047d836eb6 100644 --- a/keyboards/neson_design/700e/config.h +++ b/keyboards/neson_design/700e/config.h @@ -18,11 +18,6 @@ */ #pragma once - -#define MATRIX_ROW_PINS { E6, B7, F6, F1, F0} -#define MATRIX_COL_PINS { F7, B0, B3, B1, B2, F4, C7, C6, B6, B5, B4, D7, D3, D2, D6, D4} -#define DIODE_DIRECTION COL2ROW - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/neson_design/700e/info.json b/keyboards/neson_design/700e/info.json index 29f5c0c2f4..feb9c5d506 100644 --- a/keyboards/neson_design/700e/info.json +++ b/keyboards/neson_design/700e/info.json @@ -8,6 +8,11 @@ "pid": "0x700E", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F7", "B0", "B3", "B1", "B2", "F4", "C7", "C6", "B6", "B5", "B4", "D7", "D3", "D2", "D6", "D4"], + "rows": ["E6", "B7", "F6", "F1", "F0"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "F5" }, diff --git a/keyboards/neson_design/n6/config.h b/keyboards/neson_design/n6/config.h index b98385f836..1a3cd3c897 100644 --- a/keyboards/neson_design/n6/config.h +++ b/keyboards/neson_design/n6/config.h @@ -18,11 +18,6 @@ */ #pragma once - -#define MATRIX_ROW_PINS { F0, B1, F6, F4, F1} -#define MATRIX_COL_PINS { F7, B0, E6, C7, C6, B6, B5, B4, D7, D6, D4, D5, B2, D3, D2 } -#define DIODE_DIRECTION COL2ROW - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/neson_design/n6/info.json b/keyboards/neson_design/n6/info.json index 19de748afb..c96e0c126b 100644 --- a/keyboards/neson_design/n6/info.json +++ b/keyboards/neson_design/n6/info.json @@ -8,6 +8,11 @@ "pid": "0x4E36", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F7", "B0", "E6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "B2", "D3", "D2"], + "rows": ["F0", "B1", "F6", "F4", "F1"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "F5" }, -- cgit v1.2.3