summaryrefslogtreecommitdiff
path: root/keyboards/melgeek/mj6xy/rev3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/melgeek/mj6xy/rev3')
-rwxr-xr-xkeyboards/melgeek/mj6xy/rev3/config.h6
-rw-r--r--keyboards/melgeek/mj6xy/rev3/info.json5
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",