summaryrefslogtreecommitdiff
path: root/keyboards/mnk75
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mnk75')
-rwxr-xr-xkeyboards/mnk75/config.h7
-rwxr-xr-xkeyboards/mnk75/info.json5
-rwxr-xr-xkeyboards/mnk75/mnk75.c16
3 files changed, 5 insertions, 23 deletions
diff --git a/keyboards/mnk75/config.h b/keyboards/mnk75/config.h
index f2c84192d4..79fdc4275f 100755
--- a/keyboards/mnk75/config.h
+++ b/keyboards/mnk75/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { A2, A14, A15, B3, B4, B5 }
-#define MATRIX_COL_PINS { A1, B9, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/keyboards/mnk75/info.json b/keyboards/mnk75/info.json
index 71ff32beb1..91a1c8f21e 100755
--- a/keyboards/mnk75/info.json
+++ b/keyboards/mnk75/info.json
@@ -8,6 +8,11 @@
"pid": "0x4D37",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["A1", "B9", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14"],
+ "rows": ["A2", "A14", "A15", "B3", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/mnk75/mnk75.c b/keyboards/mnk75/mnk75.c
deleted file mode 100755
index 357bb07823..0000000000
--- a/keyboards/mnk75/mnk75.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2021 Yiancar-Designs
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- #include "mnk75.h"