summaryrefslogtreecommitdiff
path: root/keyboards/waterfowl
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 05:41:58 +1100
committerGitHub <noreply@github.com>2023-03-11 05:41:58 +1100
commite933e0411f442fa411d3d5ec488180fee241e2ef (patch)
treef091f00a1408d752389385ff793c2878ec99e368 /keyboards/waterfowl
parent1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff)
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/waterfowl')
-rw-r--r--keyboards/waterfowl/config.h7
-rw-r--r--keyboards/waterfowl/info.json5
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/waterfowl/config.h b/keyboards/waterfowl/config.h
index 62f5ba6633..40d9a4b8da 100644
--- a/keyboards/waterfowl/config.h
+++ b/keyboards/waterfowl/config.h
@@ -16,13 +16,6 @@
#pragma once
-// Wiring
-#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
-#define MATRIX_COL_PINS { F4, F5, F6, F7, B1 }
-
-// COL2ROW, ROW2COL
-#define DIODE_DIRECTION COL2ROW
-
#define OLED_DISPLAY_128X64
#define SPLIT_MODS_ENABLE
#define SPLIT_WPM_ENABLE
diff --git a/keyboards/waterfowl/info.json b/keyboards/waterfowl/info.json
index 17f01e24e2..0ee5b095b1 100644
--- a/keyboards/waterfowl/info.json
+++ b/keyboards/waterfowl/info.json
@@ -8,6 +8,11 @@
"pid": "0x9CE3",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F4", "F5", "F6", "F7", "B1"],
+ "rows": ["D4", "C6", "D7", "E6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "B5"},