From 9e64300e67720a5468c2585391250ca5579b311b Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:00:24 +1100 Subject: Move matrix config to info.json, part 4 (#20001) --- keyboards/blank_tehnologii/manibus/config.h | 9 --------- keyboards/blank_tehnologii/manibus/info.json | 13 ++++++++++++- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'keyboards/blank_tehnologii') diff --git a/keyboards/blank_tehnologii/manibus/config.h b/keyboards/blank_tehnologii/manibus/config.h index afe48b150c..a5b93107dd 100644 --- a/keyboards/blank_tehnologii/manibus/config.h +++ b/keyboards/blank_tehnologii/manibus/config.h @@ -18,12 +18,3 @@ #define EE_HANDS - -/* define pins */ -#define MATRIX_ROW_PINS { F6, F5, F4, B6, D3 } -#define MATRIX_COL_PINS { B5, B4, D7, D6, F0, F1, C6 } -#define MATRIX_ROW_PINS_RIGHT { D6, D7, B4, F7, E6 } -#define MATRIX_COL_PINS_RIGHT { B1, B2, B3, F1, F4, F5, F6 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/blank_tehnologii/manibus/info.json b/keyboards/blank_tehnologii/manibus/info.json index 4044a561c1..ac2ac42b33 100644 --- a/keyboards/blank_tehnologii/manibus/info.json +++ b/keyboards/blank_tehnologii/manibus/info.json @@ -9,8 +9,19 @@ "pid": "0x0000", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["B5", "B4", "D7", "D6", "F0", "F1", "C6"], + "rows": ["F6", "F5", "F4", "B6", "D3"] + }, + "diode_direction": "COL2ROW", "split": { - "soft_serial_pin": "D0" + "soft_serial_pin": "D0", + "matrix_pins": { + "right": { + "cols": ["B1", "B2", "B3", "F1", "F4", "F5", "F6"], + "rows": ["D6", "D7", "B4", "F7", "E6"] + } + } }, "processor": "atmega32u4", "bootloader": "atmel-dfu", -- cgit v1.2.3