Browse Source

Add YodaDistro Macropad (#25174)

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
YodaDistro 1 year ago
parent
commit
664c0bc4c3

+ 33 - 0
keyboards/handwired/yodadistro/macro/keyboard.json

@@ -0,0 +1,33 @@
+{
+  "manufacturer": "Raspberry Pi",
+  "keyboard_name": "KBP 8-Key Macro Pad",
+  "maintainer": "yodadistro",
+  "bootloader": "rp2040",
+  "diode_direction": "COL2ROW",
+  "matrix_pins": {
+      "direct": [
+          ["GP3", "GP5", "GP7", "GP9"],
+          ["GP2", "GP4", "GP6", "GP8"]
+      ]
+  },
+  "processor": "RP2040",
+  "usb": {
+      "device_version": "1.0.0",
+      "pid": "0x2044",
+      "vid": "0x1209"
+  },
+  "layouts": {
+      "LAYOUT": {
+          "layout": [
+              {"matrix": [0, 0], "x": 0, "y": 0},
+              {"matrix": [0, 1], "x": 1, "y": 0},
+              {"matrix": [0, 2], "x": 2, "y": 0},
+              {"matrix": [0, 3], "x": 3, "y": 0},
+              {"matrix": [1, 0], "x": 0, "y": 1},
+              {"matrix": [1, 1], "x": 1, "y": 1},
+              {"matrix": [1, 2], "x": 2, "y": 1},
+              {"matrix": [1, 3], "x": 3, "y": 1}
+          ]
+      }
+  }
+}

+ 11 - 0
keyboards/handwired/yodadistro/macro/keymaps/default/keymap.json

@@ -0,0 +1,11 @@
+{
+    "keyboard": "handwired/yodadistro/macro",
+    "keymap": "default",
+    "layout": "LAYOUT",
+    "layers": [
+        [
+            "KC_A", "KC_B", "KC_C", "KC_D",
+            "KC_E", "KC_F", "KC_G", "KC_H"
+        ]
+    ]
+}

+ 25 - 0
keyboards/handwired/yodadistro/macro/readme.md

@@ -0,0 +1,25 @@
+# Yoda Distro
+
+![YodaDistro](https://i.imgur.com/W2xnKjF.jpeg)
+
+Scratch made direct wire pin 8-Key (4x2) Macro Pad using a Raspberry Pi Pico (2040).
+
+* Keyboard Maintainer: [YodaDistro](https://github.com/YodaDistro)
+* Hardware Supported: Raspberry Pi Pico (2040)
+* Hardware Availability: 3D Printed Design (https://github.com/YodaDistro/MacroPad)
+
+Make example for this keyboard (after setting up your build environment):
+
+    make handwired/yodadistro/macro:default
+    
+Flashing example for this keyboard:
+
+    make handwired/yodadistro/macro:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs)
+
+## Bootloader
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
+* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available