summaryrefslogtreecommitdiff
path: root/keyboards/edinburgh41
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/edinburgh41')
-rw-r--r--keyboards/edinburgh41/config.h8
-rw-r--r--keyboards/edinburgh41/edinburgh41.c16
-rw-r--r--keyboards/edinburgh41/info.json5
3 files changed, 5 insertions, 24 deletions
diff --git a/keyboards/edinburgh41/config.h b/keyboards/edinburgh41/config.h
index 2f65982579..16cca4e830 100644
--- a/keyboards/edinburgh41/config.h
+++ b/keyboards/edinburgh41/config.h
@@ -3,14 +3,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS \
- { F4, F5, F6, F7, B1, B3, B2 }
-#define MATRIX_COL_PINS \
- { D1, D4, C6, D7, E6, B4 }
-
-#define DIODE_DIRECTION COL2ROW
-
// Underglow LED settings
#define RGB_DI_PIN D0
diff --git a/keyboards/edinburgh41/edinburgh41.c b/keyboards/edinburgh41/edinburgh41.c
deleted file mode 100644
index 28c07d51bb..0000000000
--- a/keyboards/edinburgh41/edinburgh41.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2022 schwarzer-geiger
- *
- * 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 "edinburgh41.h"
diff --git a/keyboards/edinburgh41/info.json b/keyboards/edinburgh41/info.json
index 6a8d8b4bf9..5c7ac53a85 100644
--- a/keyboards/edinburgh41/info.json
+++ b/keyboards/edinburgh41/info.json
@@ -10,6 +10,11 @@
"pid": "0x0000",
"vid": "0xFEED"
},
+ "matrix_pins": {
+ "cols": ["D1", "D4", "C6", "D7", "E6", "B4"],
+ "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"]
+ },
+ "diode_direction": "COL2ROW",
"layouts": {
"LAYOUT": {
"layout": [