summaryrefslogtreecommitdiff
path: root/keyboards/rect44
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rect44')
-rw-r--r--keyboards/rect44/config.h8
-rw-r--r--keyboards/rect44/info.json5
-rw-r--r--keyboards/rect44/rect44.c17
3 files changed, 5 insertions, 25 deletions
diff --git a/keyboards/rect44/config.h b/keyboards/rect44/config.h
index 55dd3f951d..f8ece5e250 100644
--- a/keyboards/rect44/config.h
+++ b/keyboards/rect44/config.h
@@ -16,14 +16,6 @@
#pragma once
-
-/* Key matrix pins */
-#define MATRIX_ROW_PINS { D3, D2, F5, F4 }
-#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, D1, D0, D4, C6, D7, E6, B4, B5 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define RGB_DI_PIN B6
#define RGBLED_NUM 12
# define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/rect44/info.json b/keyboards/rect44/info.json
index 2bb04a7f8b..c136ec6809 100644
--- a/keyboards/rect44/info.json
+++ b/keyboards/rect44/info.json
@@ -8,6 +8,11 @@
"pid": "0x4DD7",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F6", "F7", "B1", "B3", "B2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
+ "rows": ["D3", "D2", "F5", "F4"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/rect44/rect44.c b/keyboards/rect44/rect44.c
deleted file mode 100644
index b36aa7d40d..0000000000
--- a/keyboards/rect44/rect44.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020-2021 koshinoya
- *
- * 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 "rect44.h"