summaryrefslogtreecommitdiffstats
path: root/keyboards/mechwild/puckbuddy
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/puckbuddy')
-rw-r--r--keyboards/mechwild/puckbuddy/config.h6
-rw-r--r--keyboards/mechwild/puckbuddy/info.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h
index 0487c5322a..bf2e1a0b58 100644
--- a/keyboards/mechwild/puckbuddy/config.h
+++ b/keyboards/mechwild/puckbuddy/config.h
@@ -42,12 +42,6 @@
#define CIRQUE_PINNACLE_SPI_DIVISOR 8
#define CIRQUE_PINNACLE_SPI_CS_PIN A4
-/* encoder pins */
-#define ENCODERS_PAD_A { B1, B3 }
-#define ENCODERS_PAD_B { B0, A15 }
-
-/* encoder resolution */
-#define ENCODER_RESOLUTION 4
#define TAP_CODE_DELAY 10
/* COL2ROW, ROW2COL */
diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json
index d0af030ff3..825def96a2 100644
--- a/keyboards/mechwild/puckbuddy/info.json
+++ b/keyboards/mechwild/puckbuddy/info.json
@@ -8,6 +8,12 @@
"pid": "0x170F",
"device_version": "1.0.0"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "B1", "pin_b": "B0"},
+ {"pin_a": "B3", "pin_b": "A15"}
+ ]
+ },
"indicators": {
"caps_lock": "C13",
"on_state": 0