From dd086a51d82a574a55eb3b89e8943301d72296f3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 10 Mar 2023 22:16:56 +1100 Subject: Move matrix config to info.json, part 2 (#19987) --- keyboards/orthodox/rev3/config.h | 16 ---------------- keyboards/orthodox/rev3/info.json | 5 +++++ 2 files changed, 5 insertions(+), 16 deletions(-) (limited to 'keyboards/orthodox/rev3') diff --git a/keyboards/orthodox/rev3/config.h b/keyboards/orthodox/rev3/config.h index acefd95383..c4261a79fb 100644 --- a/keyboards/orthodox/rev3/config.h +++ b/keyboards/orthodox/rev3/config.h @@ -21,22 +21,6 @@ along with this program. If not, see . #pragma once - -// wiring of each half - -//REV.3 PRO MICRO -#define MATRIX_ROW_PINS { D2, B4, B5 } -#define MATRIX_COL_PINS { D7, F4, F5, B6, B2, B3, B1, F7, F6 } - -/*/ -//REV.3 TEENSY -#define MATRIX_ROW_PINS { B0, C6, C7 } -#define MATRIX_COL_PINS { D2, F5, F6, D6, D7, B4, B5, B6, F7 } -/*/ - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* key combination for command */ #define IS_COMMAND() ( \ get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_LGUI)) \ diff --git a/keyboards/orthodox/rev3/info.json b/keyboards/orthodox/rev3/info.json index a4525cc2f6..0681d736f9 100644 --- a/keyboards/orthodox/rev3/info.json +++ b/keyboards/orthodox/rev3/info.json @@ -7,6 +7,11 @@ "pid": "0x3060", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D7", "F4", "F5", "B6", "B2", "B3", "B1", "F7", "F6"], + "rows": ["D2", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D0" }, -- cgit v1.2.3