summaryrefslogtreecommitdiff
path: root/keyboards/rect44
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:34:34 +1100
committerGitHub <noreply@github.com>2023-03-11 00:34:34 +1100
commitace372d90de13dafc815df5d8049497cb351b69b (patch)
tree0eb4793443956fbc60a1cfca5c1f1e556422ce66 /keyboards/rect44
parent76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff)
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/rect44')
-rw-r--r--keyboards/rect44/config.h8
-rw-r--r--keyboards/rect44/info.json5
2 files changed, 5 insertions, 8 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": {