diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:39:56 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:39:56 +1100 |
commit | caa8c81086a806ea048c91ba142d424dc6a49f50 (patch) | |
tree | 824de64449d9cfaeba176288d379a282c733ae1a /keyboards/mwstudio/mw65_black | |
parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/mwstudio/mw65_black')
-rw-r--r-- | keyboards/mwstudio/mw65_black/config.h | 8 | ||||
-rw-r--r-- | keyboards/mwstudio/mw65_black/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/mwstudio/mw65_black/config.h b/keyboards/mwstudio/mw65_black/config.h index 79d1d5e1b2..6ed183cb4c 100644 --- a/keyboards/mwstudio/mw65_black/config.h +++ b/keyboards/mwstudio/mw65_black/config.h @@ -16,14 +16,6 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { D4, D7, B4, B3, B6 } -#define MATRIX_COL_PINS { B0, B1, B2, D0, D1, D2, D3, D5, C6, F7, F4, F6, F5, F1, F0 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN C7 #ifdef RGB_DI_PIN #define RGBLED_NUM 21 diff --git a/keyboards/mwstudio/mw65_black/info.json b/keyboards/mwstudio/mw65_black/info.json index 23151df686..1a53a22195 100644 --- a/keyboards/mwstudio/mw65_black/info.json +++ b/keyboards/mwstudio/mw65_black/info.json @@ -8,6 +8,11 @@ "pid": "0x6500", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "B1", "B2", "D0", "D1", "D2", "D3", "D5", "C6", "F7", "F4", "F6", "F5", "F1", "F0"], + "rows": ["D4", "D7", "B4", "B3", "B6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "E6", "pin_b": "D6"} |