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/melgeek/mj6xy | |
parent | ace372d90de13dafc815df5d8049497cb351b69b (diff) |
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/melgeek/mj6xy')
-rwxr-xr-x | keyboards/melgeek/mj6xy/rev3/config.h | 6 | ||||
-rw-r--r-- | keyboards/melgeek/mj6xy/rev3/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index a093ab8d37..7150128436 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h @@ -16,12 +16,6 @@ #pragma once -#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 } -#define MATRIX_COL_PINS { B0, B1, B2, B3, B6, B5, B4, D7, D6, D4, D5, F7, D2, D1, D0 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN C6 #ifdef RGB_DI_PIN diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json index ccd7165a72..1c36053897 100644 --- a/keyboards/melgeek/mj6xy/rev3/info.json +++ b/keyboards/melgeek/mj6xy/rev3/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["B0", "B1", "B2", "B3", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F7", "D2", "D1", "D0"], + "rows": ["F0", "F1", "F4", "F5", "F6"] + }, + "diode_direction": "COL2ROW", "backlight": { "driver": "software", "pin": "B7", |