summaryrefslogtreecommitdiffstats
path: root/keyboards/basketweave
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/basketweave')
-rw-r--r--keyboards/basketweave/basketweave.c17
-rw-r--r--keyboards/basketweave/config.h7
-rw-r--r--keyboards/basketweave/info.json5
3 files changed, 5 insertions, 24 deletions
diff --git a/keyboards/basketweave/basketweave.c b/keyboards/basketweave/basketweave.c
deleted file mode 100644
index 388810c9c8..0000000000
--- a/keyboards/basketweave/basketweave.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 null-ll
- *
- * 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 "basketweave.h"
diff --git a/keyboards/basketweave/config.h b/keyboards/basketweave/config.h
index 2c3f6f97f2..87864e2bf4 100644
--- a/keyboards/basketweave/config.h
+++ b/keyboards/basketweave/config.h
@@ -16,13 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS { A6, C6, C7, A7, A5 }
-#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, B0, B1, B2, D5, D6, C5, C4, C3, C2, C1 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define USB_MAX_POWER_CONSUMPTION 100
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
diff --git a/keyboards/basketweave/info.json b/keyboards/basketweave/info.json
index 3ef505854e..f635d80fff 100644
--- a/keyboards/basketweave/info.json
+++ b/keyboards/basketweave/info.json
@@ -8,6 +8,11 @@
"pid": "0x8989",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["A0", "A1", "A2", "A3", "A4", "B0", "B1", "B2", "D5", "D6", "C5", "C4", "C3", "C2", "C1"],
+ "rows": ["A6", "C6", "C7", "A7", "A5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D7", "pin_b": "C0"}