summaryrefslogtreecommitdiffstats
path: root/keyboards/bluebell/swoop
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bluebell/swoop')
-rw-r--r--keyboards/bluebell/swoop/config.h5
-rw-r--r--keyboards/bluebell/swoop/info.json5
-rw-r--r--keyboards/bluebell/swoop/swoop.c16
3 files changed, 5 insertions, 21 deletions
diff --git a/keyboards/bluebell/swoop/config.h b/keyboards/bluebell/swoop/config.h
index de47d3a071..f46df6af82 100644
--- a/keyboards/bluebell/swoop/config.h
+++ b/keyboards/bluebell/swoop/config.h
@@ -15,11 +15,6 @@
*/
#pragma once
-// wiring of each half
-#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
-#define MATRIX_COL_PINS { B1, F7, F6, F5, F4 }
-#define DIODE_DIRECTION COL2ROW
-
#define EE_HANDS
// OLED driver
diff --git a/keyboards/bluebell/swoop/info.json b/keyboards/bluebell/swoop/info.json
index 49dcc857e9..7a0adea313 100644
--- a/keyboards/bluebell/swoop/info.json
+++ b/keyboards/bluebell/swoop/info.json
@@ -8,6 +8,11 @@
"pid": "0x3046",
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["B1", "F7", "F6", "F5", "F4"],
+ "rows": ["D4", "C6", "D7", "E6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B5"}
diff --git a/keyboards/bluebell/swoop/swoop.c b/keyboards/bluebell/swoop/swoop.c
deleted file mode 100644
index a373b48c47..0000000000
--- a/keyboards/bluebell/swoop/swoop.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2022 James White <jamesmnw@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 "swoop.h"