summaryrefslogtreecommitdiff
path: root/keyboards/momoka_ergo
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/momoka_ergo')
-rw-r--r--keyboards/momoka_ergo/config.h6
-rw-r--r--keyboards/momoka_ergo/info.json5
-rw-r--r--keyboards/momoka_ergo/momoka_ergo.c17
3 files changed, 5 insertions, 23 deletions
diff --git a/keyboards/momoka_ergo/config.h b/keyboards/momoka_ergo/config.h
index 5425085bb6..a8482aaef1 100644
--- a/keyboards/momoka_ergo/config.h
+++ b/keyboards/momoka_ergo/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5, B6, B7 }
-#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
#define SELECT_SOFT_SERIAL_SPEED 5
#define RGB_DI_PIN C7
diff --git a/keyboards/momoka_ergo/info.json b/keyboards/momoka_ergo/info.json
index 3c1eefd090..e362a3fa92 100644
--- a/keyboards/momoka_ergo/info.json
+++ b/keyboards/momoka_ergo/info.json
@@ -8,6 +8,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F7", "F6", "F5", "F4", "F1", "F0"],
+ "rows": ["C6", "D7", "E6", "B4", "B5", "B6", "B7"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D1"
},
diff --git a/keyboards/momoka_ergo/momoka_ergo.c b/keyboards/momoka_ergo/momoka_ergo.c
deleted file mode 100644
index 8069d7f512..0000000000
--- a/keyboards/momoka_ergo/momoka_ergo.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 StefanGrindelwald
- *
- * 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 "momoka_ergo.h"