From 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 00:32:05 +1100 Subject: Move matrix config to info.json, part 6 (#20019) --- keyboards/chalice/config.h | 7 ------- keyboards/chalice/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/chalice') diff --git a/keyboards/chalice/config.h b/keyboards/chalice/config.h index a71d46d6b5..88e9e5f9c8 100644 --- a/keyboards/chalice/config.h +++ b/keyboards/chalice/config.h @@ -17,13 +17,6 @@ #pragma once - -#define MATRIX_ROW_PINS {F4, D1, D0, F5, D4, F6, B4, B5, B2, B6} -#define MATRIX_COL_PINS {F7, C6, B1, D2, E6, B3, D7} - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN D3 #ifdef RGBLIGHT_ENABLE diff --git a/keyboards/chalice/info.json b/keyboards/chalice/info.json index 35f5c5fb1e..4075fa42f2 100644 --- a/keyboards/chalice/info.json +++ b/keyboards/chalice/info.json @@ -8,6 +8,11 @@ "pid": "0x000C", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F7", "C6", "B1", "D2", "E6", "B3", "D7"], + "rows": ["F4", "D1", "D0", "F5", "D4", "F6", "B4", "B5", "B2", "B6"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { -- cgit v1.2.3