diff options
Diffstat (limited to 'keyboards/mlego/m48')
-rw-r--r-- | keyboards/mlego/m48/config.h | 3 | ||||
-rw-r--r-- | keyboards/mlego/m48/m48.c | 17 | ||||
-rw-r--r-- | keyboards/mlego/m48/rev1/config.h | 6 | ||||
-rw-r--r-- | keyboards/mlego/m48/rev1/info.json | 5 |
4 files changed, 5 insertions, 26 deletions
diff --git a/keyboards/mlego/m48/config.h b/keyboards/mlego/m48/config.h index 8daaa6e9f8..70e1beb43e 100644 --- a/keyboards/mlego/m48/config.h +++ b/keyboards/mlego/m48/config.h @@ -15,9 +15,6 @@ */ #pragma once -/* COL2ROW, ROW2COL*/ -#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/mlego/m48/m48.c b/keyboards/mlego/m48/m48.c deleted file mode 100644 index 887521075b..0000000000 --- a/keyboards/mlego/m48/m48.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021-2022 alin elena <alin@elena.space> - * - * 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 "m48.h" - diff --git a/keyboards/mlego/m48/rev1/config.h b/keyboards/mlego/m48/rev1/config.h index 04c1bb4509..b872354f60 100644 --- a/keyboards/mlego/m48/rev1/config.h +++ b/keyboards/mlego/m48/rev1/config.h @@ -15,12 +15,6 @@ */ #pragma once - -#define MATRIX_ROW_PINS \ - { A6, A7, B0, B10 } -#define MATRIX_COL_PINS \ - { A10, A15, B3, B4, B5, B7, B6, A1, A2, A3, A4, A5 } - #ifdef RGBLIGHT_ENABLE #define RGBLIGHT_LAYERS #define RGB_DI_PIN B15 diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/info.json index ecfa4dc940..1e5a70aa92 100644 --- a/keyboards/mlego/m48/rev1/info.json +++ b/keyboards/mlego/m48/rev1/info.json @@ -3,6 +3,11 @@ "pid": "0x6261", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"], + "rows": ["A6", "A7", "B0", "B10"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "A0", "pin_b": "B8"} |