summaryrefslogtreecommitdiff
path: root/keyboards/waterfowl
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/waterfowl')
-rw-r--r--keyboards/waterfowl/config.h5
-rw-r--r--keyboards/waterfowl/info.json6
2 files changed, 6 insertions, 5 deletions
diff --git a/keyboards/waterfowl/config.h b/keyboards/waterfowl/config.h
index 752f11ca3d..62f5ba6633 100644
--- a/keyboards/waterfowl/config.h
+++ b/keyboards/waterfowl/config.h
@@ -28,10 +28,5 @@
#define SPLIT_WPM_ENABLE
#define SPLIT_USB_DETECT
-// Encoders
-#define ENCODERS_PAD_A { B4, B3 }
-#define ENCODERS_PAD_B { B5, B2 }
-#define ENCODER_RESOLUTIONS { 4, 2 }
-
// Tapping term
#define TAPPING_TERM 200 \ No newline at end of file
diff --git a/keyboards/waterfowl/info.json b/keyboards/waterfowl/info.json
index fab5a603d3..17f01e24e2 100644
--- a/keyboards/waterfowl/info.json
+++ b/keyboards/waterfowl/info.json
@@ -8,6 +8,12 @@
"pid": "0x9CE3",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "B4", "pin_b": "B5"},
+ {"pin_a": "B3", "pin_b": "B2", "resolution": 2},
+ ]
+ },
"split": {
"soft_serial_pin": "D2"
},