diff options
Diffstat (limited to 'keyboards/momoka_ergo')
-rw-r--r-- | keyboards/momoka_ergo/config.h | 7 | ||||
-rw-r--r-- | keyboards/momoka_ergo/info.json | 8 | ||||
-rw-r--r-- | keyboards/momoka_ergo/momoka_ergo.c | 17 |
3 files changed, 8 insertions, 24 deletions
diff --git a/keyboards/momoka_ergo/config.h b/keyboards/momoka_ergo/config.h index 5425085bb6..014b1f93a5 100644 --- a/keyboards/momoka_ergo/config.h +++ b/keyboards/momoka_ergo/config.h @@ -17,15 +17,8 @@ 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 #define RGBLED_NUM 22 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS diff --git a/keyboards/momoka_ergo/info.json b/keyboards/momoka_ergo/info.json index 3c1eefd090..fbba58a840 100644 --- a/keyboards/momoka_ergo/info.json +++ b/keyboards/momoka_ergo/info.json @@ -8,9 +8,17 @@ "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" }, + "ws2812": { + "pin": "C7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 3, 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" |