diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:32:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:32:05 +1100 |
commit | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch) | |
tree | f25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/chalice | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/chalice')
-rw-r--r-- | keyboards/chalice/config.h | 7 | ||||
-rw-r--r-- | keyboards/chalice/info.json | 5 |
2 files changed, 5 insertions, 7 deletions
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": { |