summaryrefslogtreecommitdiff
path: root/keyboards/handwired/prkl30
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/prkl30')
-rw-r--r--keyboards/handwired/prkl30/feather/config.h6
-rw-r--r--keyboards/handwired/prkl30/feather/info.json5
-rw-r--r--keyboards/handwired/prkl30/promicro/config.h6
-rw-r--r--keyboards/handwired/prkl30/promicro/info.json5
4 files changed, 10 insertions, 12 deletions
diff --git a/keyboards/handwired/prkl30/feather/config.h b/keyboards/handwired/prkl30/feather/config.h
index a1b7295e32..f8d36fe894 100644
--- a/keyboards/handwired/prkl30/feather/config.h
+++ b/keyboards/handwired/prkl30/feather/config.h
@@ -15,12 +15,6 @@
*/
#pragma once
-/* PRKL30 feather pinout */
-#define MATRIX_ROW_PINS { F4, F1, F0, D2}
-#define MATRIX_COL_PINS { D3, D1, B7, D6, C7, B6, B5, D7, C6, D0}
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
/* RGB Light Configuration */
#define RGB_DI_PIN D1
diff --git a/keyboards/handwired/prkl30/feather/info.json b/keyboards/handwired/prkl30/feather/info.json
index 8078ee0481..5a3e21d8f1 100644
--- a/keyboards/handwired/prkl30/feather/info.json
+++ b/keyboards/handwired/prkl30/feather/info.json
@@ -1,4 +1,9 @@
{
+ "matrix_pins": {
+ "cols": ["D3", "D1", "B7", "D6", "C7", "B6", "B5", "D7", "C6", "D0"],
+ "rows": ["F4", "F1", "F0", "D2"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F7", "pin_b": "F6"}
diff --git a/keyboards/handwired/prkl30/promicro/config.h b/keyboards/handwired/prkl30/promicro/config.h
index c3767088c7..f8d36fe894 100644
--- a/keyboards/handwired/prkl30/promicro/config.h
+++ b/keyboards/handwired/prkl30/promicro/config.h
@@ -15,12 +15,6 @@
*/
#pragma once
-/* prkl30 default pinout */
-#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
-#define MATRIX_COL_PINS { B4, B5, F6, F5, F4, F7, B1, B3, B2, B6}
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
/* RGB Light Configuration */
#define RGB_DI_PIN D1
diff --git a/keyboards/handwired/prkl30/promicro/info.json b/keyboards/handwired/prkl30/promicro/info.json
index a7ca847765..ddec0f8eeb 100644
--- a/keyboards/handwired/prkl30/promicro/info.json
+++ b/keyboards/handwired/prkl30/promicro/info.json
@@ -1,4 +1,9 @@
{
+ "matrix_pins": {
+ "cols": ["B4", "B5", "F6", "F5", "F4", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["D4", "C6", "D7", "E6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D3", "pin_b": "D2"}