fb3a414a4042006fd374602931c2b9c943059aa8

Author
Danny Tan <23428162+zykrah@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

Add Idyllic Pizza Pad (#24566)

* Initial PizzaPad firmware

* Updated files to conform to PR checklist

* Fix default keymap location

* Update keyboard.json

* Apply suggestions from code review

Co-authored-by: Joel Challis <git@zvecr.com>

* Update keyboards/idyllic/pizzapad/keymaps/default/keymap.c

Co-authored-by: jack <jack@pngu.org>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <jack@pngu.org>

Diff

This diff is truncated to protect this page.

 1diff --git a/keyboards/idyllic/pizzapad/keyboard.json b/keyboards/idyllic/pizzapad/keyboard.json
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..638db198227ecdf28c9e88e76590d961aca4073b
 4--- /dev/null
 5+++ b/keyboards/idyllic/pizzapad/keyboard.json
 6@@ -0,0 +1,36 @@
 7+{
 8+    "manufacturer": "Zykrah",
 9+    "keyboard_name": "Pizza Pad",
10+    "maintainer": "zykrah",
11+    "processor": "RP2040",
12+    "bootloader": "rp2040",
13+    "diode_direction": "COL2ROW",
14+    "dynamic_keymap": {
15+        "layer_count": 6
16+    },
17+    "matrix_pins": {
18+        "cols": ["GP1", "GP0", "GP7"],
19+        "rows": ["GP6", "GP29", "GP28"]
20+    },
21+    "usb": {
22+        "device_version": "0.0.1",
23+        "pid": "0x5050",
24+        "vid": "0x7A79"
25+    },
26+    "community_layouts": ["ortho_3x3"],
27+    "layouts": {
28+        "LAYOUT_ortho_3x3": {
29+            "layout": [
30+                {"matrix": [0, 0], "x": 0, "y": 0},
31+                {"matrix": [0, 1], "x": 1, "y": 0},
32+                {"matrix": [0, 2], "x": 2, "y": 0},
33+                {"matrix": [1, 0], "x": 0, "y": 1},
34+                {"matrix": [1, 1], "x": 1, "y": 1},
35+                {"matrix": [1, 2], "x": 2, "y": 1},
36+                {"matrix": [2, 0], "x": 0, "y": 2},
37+                {"matrix": [2, 1], "x": 1, "y": 2},
38+                {"matrix": [2, 2], "x": 2, "y": 2}
39+            ]
40+        }
41+    }
42+}
43diff --git a/keyboards/idyllic/pizzapad/keymaps/default/keymap.c b/keyboards/idyllic/pizzapad/keymaps/default/keymap.c
44new file mode 100644
45index 0000000000000000000000000000000000000000..333b33bc0b40c48cdcb873680e1f9c06093cb61c
46--- /dev/null
47+++ b/keyboards/idyllic/pizzapad/keymaps/default/keymap.c
48@@ -0,0 +1,12 @@
49+// Copyright 2024 Zykrah (@zykrah)
50+// SPDX-License-Identifier: GPL-2.0-or-later
51+
52+#include QMK_KEYBOARD_H
53+
54+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
55+    [0] = LAYOUT_ortho_3x3(	
56+        KC_P7,   KC_P8,   KC_P9,
57+        KC_P4,   KC_P5,   KC_P6,
58+        KC_P1,   KC_P2,   KC_P3
59+    )
60+};
61diff --git a/keyboards/idyllic/pizzapad/readme.md b/keyboards/idyllic/pizzapad/readme.md
62new file mode 100644
63index 0000000000000000000000000000000000000000..04098cb522dd7352345d06e1215a9d29a828aad5
64--- /dev/null
65+++ b/keyboards/idyllic/pizzapad/readme.md
66@@ -0,0 +1,27 @@
67+# Pizza Pad PCB
68+
69+![Pizza Pad PCB](https://i.imgur.com/eJLuaZY.jpg)
70+
71+A 3x3 PCB designed for the Idyllic Pretty Pad.
72+
73+* Keyboard Maintainer: Zykrah
74+* Hardware Supported: Pizza Pad PCB (using a SEEED XIAO RP2040)
75+* Hardware Availability: [Mechstock](https://mechstock.com.au/)
76+
77+Make example for this keyboard (after setting up your build environment):
78+
79+    make idyllic/pizzapad:default
80+
81+Flashing example for this keyboard:
82+
83+    make idyllic/pizzapad:default:flash
84+