summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd75hs
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd75hs')
-rw-r--r--keyboards/kbdfans/kbd75hs/config.h7
-rw-r--r--keyboards/kbdfans/kbd75hs/info.json5
-rw-r--r--keyboards/kbdfans/kbd75hs/kbd75hs.c17
3 files changed, 5 insertions, 24 deletions
diff --git a/keyboards/kbdfans/kbd75hs/config.h b/keyboards/kbdfans/kbd75hs/config.h
index d4e1e40ea0..10fc5ca8b5 100644
--- a/keyboards/kbdfans/kbd75hs/config.h
+++ b/keyboards/kbdfans/kbd75hs/config.h
@@ -16,13 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS { E6, B0, B1, B2, B3, B6 }
-#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5}
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define FORCE_NKRO
#define RGB_DI_PIN F0
diff --git a/keyboards/kbdfans/kbd75hs/info.json b/keyboards/kbdfans/kbd75hs/info.json
index 9af7103b3b..1cae94957d 100644
--- a/keyboards/kbdfans/kbd75hs/info.json
+++ b/keyboards/kbdfans/kbd75hs/info.json
@@ -7,6 +7,11 @@
"pid": "0x6062",
"device_version": "0.0.3"
},
+ "matrix_pins": {
+ "cols": ["F7", "F6", "F5", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5"],
+ "rows": ["E6", "B0", "B1", "B2", "B3", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "C6"
},
diff --git a/keyboards/kbdfans/kbd75hs/kbd75hs.c b/keyboards/kbdfans/kbd75hs/kbd75hs.c
deleted file mode 100644
index e22c267575..0000000000
--- a/keyboards/kbdfans/kbd75hs/kbd75hs.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 DZTECH <moyi4681@Live.cn>
- *
- * 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 "kbd75hs.h"