summaryrefslogtreecommitdiffstats
path: root/keyboards/bastardkb/tbk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bastardkb/tbk')
-rw-r--r--keyboards/bastardkb/tbk/config.h4
-rw-r--r--keyboards/bastardkb/tbk/info.json5
-rw-r--r--keyboards/bastardkb/tbk/tbk.c18
3 files changed, 5 insertions, 22 deletions
diff --git a/keyboards/bastardkb/tbk/config.h b/keyboards/bastardkb/tbk/config.h
index 7a273050c0..1801b70053 100644
--- a/keyboards/bastardkb/tbk/config.h
+++ b/keyboards/bastardkb/tbk/config.h
@@ -17,10 +17,6 @@
#pragma once
-#define DIODE_DIRECTION ROW2COL
-#define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
-#define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
-
#define RGB_DI_PIN D2
#define RGBLED_NUM 38
#define RGBLED_SPLIT { 19, 19 }
diff --git a/keyboards/bastardkb/tbk/info.json b/keyboards/bastardkb/tbk/info.json
index 22f10cee96..247e86160f 100644
--- a/keyboards/bastardkb/tbk/info.json
+++ b/keyboards/bastardkb/tbk/info.json
@@ -5,6 +5,11 @@
"device_version": "0.0.1",
"pid": "0x1828"
},
+ "matrix_pins": {
+ "cols": ["B4", "E6", "C6", "B1", "B3", "B2"],
+ "rows": ["D7", "B5", "F7", "F6", "B6"]
+ },
+ "diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "D0"
},
diff --git a/keyboards/bastardkb/tbk/tbk.c b/keyboards/bastardkb/tbk/tbk.c
deleted file mode 100644
index 4cebec2a54..0000000000
--- a/keyboards/bastardkb/tbk/tbk.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.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 "tbk.h"