commit 9a77ad69e6af95d2f1dfb51023dc5d32d84560ad
parent 187119ed7f41f6ed9bbd78c734a3068c92aaf0b6
Author: QMK Bot <hello@qmk.fm>
Date: Sun, 5 Oct 2025 20:50:42 +0000
Merge remote-tracking branch 'origin/master' into develop
Diffstat:
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/keyboards/idyllic/pizzapad/keyboard.json b/keyboards/idyllic/pizzapad/keyboard.json
@@ -13,10 +13,22 @@
"rows": ["GP6", "GP29", "GP28"]
},
"usb": {
- "device_version": "0.0.1",
+ "device_version": "0.0.2",
"pid": "0x5050",
"vid": "0x7A79"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "nkro": true,
+ "encoder": true
+ },
+ "encoder": {
+ "rotary": [
+ { "pin_a": "GP2", "pin_b": "GP3" }
+ ]
+ },
"community_layouts": ["ortho_3x3"],
"layouts": {
"LAYOUT_ortho_3x3": {
diff --git a/keyboards/idyllic/pizzapad/pizzapad.c b/keyboards/idyllic/pizzapad/pizzapad.c
@@ -0,0 +1,14 @@
+// Copyright 2025 Zykrah
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "quantum.h"
+
+#define ENCODER_PIN_C GP27
+
+void keyboard_pre_init_kb(void) {
+ // Set encoder pin C low
+ gpio_set_pin_output_push_pull(ENCODER_PIN_C);
+ gpio_write_pin_low(ENCODER_PIN_C);
+
+ keyboard_pre_init_user();
+}