summaryrefslogtreecommitdiff
path: root/keyboards/mode/m75s
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mode/m75s')
-rw-r--r--keyboards/mode/m75s/config.h6
-rw-r--r--keyboards/mode/m75s/info.json5
-rw-r--r--keyboards/mode/m75s/m75s.c18
3 files changed, 5 insertions, 24 deletions
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h
index 6c90b66be5..b8307f4396 100644
--- a/keyboards/mode/m75s/config.h
+++ b/keyboards/mode/m75s/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
- // C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15
-#define MATRIX_COL_PINS { C8, A8, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 }
- // R0, R1, R2, R3, R4, R5 , R6
-#define MATRIX_ROW_PINS { C5, B0, B14, B15, C7 , C9 , A15}
-#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/mode/m75s/info.json b/keyboards/mode/m75s/info.json
index f046a8dffd..a3f2fd77ec 100644
--- a/keyboards/mode/m75s/info.json
+++ b/keyboards/mode/m75s/info.json
@@ -8,6 +8,11 @@
"pid": "0x7583",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C8", "A8", "A10", "B13", "B12", "B10", "B1", "C10", "C11", "D2", "C12", "B3", "B4", "B5", "B8", "B9"],
+ "rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"]
+ },
+ "diode_direction": "COL2ROW",
"backlight": {
"pin": "C6",
"levels": 20,
diff --git a/keyboards/mode/m75s/m75s.c b/keyboards/mode/m75s/m75s.c
deleted file mode 100644
index 87e643653c..0000000000
--- a/keyboards/mode/m75s/m75s.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- Copyright 2022 Gondolindrim <gondolindrim@acheronproject.com>
-
-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 "m75s.h"