summaryrefslogtreecommitdiff
path: root/keyboards/handwired/lagrange
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/lagrange')
-rw-r--r--keyboards/handwired/lagrange/config.h9
-rw-r--r--keyboards/handwired/lagrange/info.json13
2 files changed, 13 insertions, 9 deletions
diff --git a/keyboards/handwired/lagrange/config.h b/keyboards/handwired/lagrange/config.h
index 618862f2e2..5875c7e7c4 100644
--- a/keyboards/handwired/lagrange/config.h
+++ b/keyboards/handwired/lagrange/config.h
@@ -19,12 +19,3 @@
#define EE_HANDS
#define SPLIT_USB_DETECT
-
-/* pin-out */
-#define MATRIX_ROW_PINS { E6, F1, F0, F4, F5, F6, F7 }
-#define MATRIX_COL_PINS { B4, B5, D7, B6, C6, D6 }
-#define MATRIX_ROW_PINS_RIGHT { B5, B4, D7, B6, C6, D6, D4 }
-#define MATRIX_COL_PINS_RIGHT { C7, F7, F6, F5, F4, F1 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/handwired/lagrange/info.json b/keyboards/handwired/lagrange/info.json
index 7d1179e1f4..1141183e18 100644
--- a/keyboards/handwired/lagrange/info.json
+++ b/keyboards/handwired/lagrange/info.json
@@ -8,6 +8,19 @@
"pid": "0x2718",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B4", "B5", "D7", "B6", "C6", "D6"],
+ "rows": ["E6", "F1", "F0", "F4", "F5", "F6", "F7"]
+ },
+ "diode_direction": "ROW2COL",
+ "split": {
+ "matrix_pins": {
+ "right": {
+ "cols": ["C7", "F7", "F6", "F5", "F4", "F1"],
+ "rows": ["B5", "B4", "D7", "B6", "C6", "D6", "D4"]
+ }
+ }
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D2"