summaryrefslogtreecommitdiff
path: root/keyboards/nemui
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nemui')
-rw-r--r--keyboards/nemui/config.h4
-rw-r--r--keyboards/nemui/info.json11
-rw-r--r--keyboards/nemui/nemui.c16
3 files changed, 7 insertions, 24 deletions
diff --git a/keyboards/nemui/config.h b/keyboards/nemui/config.h
index 04f94fe86c..a371cd708d 100644
--- a/keyboards/nemui/config.h
+++ b/keyboards/nemui/config.h
@@ -16,10 +16,6 @@
*/
#pragma once
-#define MATRIX_COL_PINS { B2, B1, B0, B10, B11, A7, B12, B13, B14, A10, A9, A8, B7, B8, B9 }
-#define MATRIX_ROW_PINS { A3, A4, A5, A6, A2 }
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/nemui/info.json b/keyboards/nemui/info.json
index 3ac29f519c..933961ade7 100644
--- a/keyboards/nemui/info.json
+++ b/keyboards/nemui/info.json
@@ -8,6 +8,11 @@
"pid": "0x2371",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B2", "B1", "B0", "B10", "B11", "A7", "B12", "B13", "B14", "A10", "A9", "A8", "B7", "B8", "B9"],
+ "rows": ["A3", "A4", "A5", "A6", "A2"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {
@@ -67,13 +72,11 @@
},
{
"x": 13,
- "y": 0,
- "w": 1
+ "y": 0
},
{
"x": 14,
- "y": 0,
- "w": 1
+ "y": 0
},
{
"x": 0,
diff --git a/keyboards/nemui/nemui.c b/keyboards/nemui/nemui.c
deleted file mode 100644
index cdfebb0555..0000000000
--- a/keyboards/nemui/nemui.c
+++ /dev/null
@@ -1,16 +0,0 @@
- /* Copyright 2020 Bachoo
- *
- * 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 "nemui.h"