summaryrefslogtreecommitdiff
path: root/keyboards/mnk1800s
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mnk1800s')
-rwxr-xr-xkeyboards/mnk1800s/config.h7
-rwxr-xr-xkeyboards/mnk1800s/info.json5
-rwxr-xr-xkeyboards/mnk1800s/mnk1800s.c16
3 files changed, 5 insertions, 23 deletions
diff --git a/keyboards/mnk1800s/config.h b/keyboards/mnk1800s/config.h
index 5c277a3f48..79fdc4275f 100755
--- a/keyboards/mnk1800s/config.h
+++ b/keyboards/mnk1800s/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { B13, B12, A7, A6, A5 }
-#define MATRIX_COL_PINS { B10, B2, B1, B0, B14, B15, A8, A9, A10, B9, B8, B7, B6, B5, B4, B3, A15, A14 }
-
-/* 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/mnk1800s/info.json b/keyboards/mnk1800s/info.json
index 26fab96ba9..619911f907 100755
--- a/keyboards/mnk1800s/info.json
+++ b/keyboards/mnk1800s/info.json
@@ -8,6 +8,11 @@
"pid": "0x3138",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B10", "B2", "B1", "B0", "B14", "B15", "A8", "A9", "A10", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
+ "rows": ["B13", "B12", "A7", "A6", "A5"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/mnk1800s/mnk1800s.c b/keyboards/mnk1800s/mnk1800s.c
deleted file mode 100755
index f7fcd20c2b..0000000000
--- a/keyboards/mnk1800s/mnk1800s.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 "mnk1800s.h"