summaryrefslogtreecommitdiff
path: root/keyboards/mechkeys/mechmini/v2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechkeys/mechmini/v2')
-rwxr-xr-xkeyboards/mechkeys/mechmini/v2/config.h8
-rw-r--r--keyboards/mechkeys/mechmini/v2/info.json5
-rwxr-xr-xkeyboards/mechkeys/mechmini/v2/v2.c1
-rwxr-xr-xkeyboards/mechkeys/mechmini/v2/v2.h2
4 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/mechkeys/mechmini/v2/config.h b/keyboards/mechkeys/mechmini/v2/config.h
index c318669851..35421a3b29 100755
--- a/keyboards/mechkeys/mechmini/v2/config.h
+++ b/keyboards/mechkeys/mechmini/v2/config.h
@@ -15,14 +15,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
-#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B3, B1, B0, D5, B7, C7 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/info.json
index 58ad7525db..d5f75aedce 100644
--- a/keyboards/mechkeys/mechmini/v2/info.json
+++ b/keyboards/mechkeys/mechmini/v2/info.json
@@ -8,6 +8,11 @@
"pid": "0xCA40",
"device_version": "0.0.2"
},
+ "matrix_pins": {
+ "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B3", "B1", "B0", "D5", "B7", "C7"],
+ "rows": ["D0", "D1", "D2", "D3"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "B6"
},
diff --git a/keyboards/mechkeys/mechmini/v2/v2.c b/keyboards/mechkeys/mechmini/v2/v2.c
deleted file mode 100755
index caf7c6f0f2..0000000000
--- a/keyboards/mechkeys/mechmini/v2/v2.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "v2.h"
diff --git a/keyboards/mechkeys/mechmini/v2/v2.h b/keyboards/mechkeys/mechmini/v2/v2.h
index a0a620675e..7e817ae9ab 100755
--- a/keyboards/mechkeys/mechmini/v2/v2.h
+++ b/keyboards/mechkeys/mechmini/v2/v2.h
@@ -15,7 +15,7 @@
#pragma once
-#include "../mechmini.h"
+#include "quantum.h"
#define XXX KC_NO