summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/6key
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/6key')
-rw-r--r--keyboards/handwired/6key/config.h8
-rw-r--r--keyboards/handwired/6key/info.json5
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/handwired/6key/config.h b/keyboards/handwired/6key/config.h
index 31b6c8888d..0ba89040c7 100644
--- a/keyboards/handwired/6key/config.h
+++ b/keyboards/handwired/6key/config.h
@@ -16,13 +16,5 @@
#pragma once
-
-/* pin-out */
-#define MATRIX_ROW_PINS { B4, D0 }
-#define MATRIX_COL_PINS { D3, D2, D1 }
-
/* dip switch */
#define DIP_SWITCH_PINS { C6 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/6key/info.json b/keyboards/handwired/6key/info.json
index 7d7e17b64c..fec35620a2 100644
--- a/keyboards/handwired/6key/info.json
+++ b/keyboards/handwired/6key/info.json
@@ -8,6 +8,11 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D3", "D2", "D1"],
+ "rows": ["B4", "D0"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {