summaryrefslogtreecommitdiff
path: root/keyboards/puck
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/puck')
-rw-r--r--keyboards/puck/config.h7
-rw-r--r--keyboards/puck/info.json5
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/puck/config.h b/keyboards/puck/config.h
index 26dda7d8fa..2f38776326 100644
--- a/keyboards/puck/config.h
+++ b/keyboards/puck/config.h
@@ -1,11 +1,4 @@
#pragma once
-
-#define MATRIX_ROW_PINS { D2, D3, C6, C7 }
-#define MATRIX_COL_PINS { B4, D7, D6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/puck/info.json b/keyboards/puck/info.json
index f56b1ceef8..d5bab56bf3 100644
--- a/keyboards/puck/info.json
+++ b/keyboards/puck/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B4", "D7", "D6"],
+ "rows": ["D2", "D3", "C6", "C7"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "halfkay",
"layouts": {