Browse Source

[Keyboard] Add Soldered Macro Pad (#25834)

Co-authored-by: Drashna Jaelre <drashna@live.com>
Josip Šimun Kuči 5 months ago
parent
commit
5ad6d44e18

+ 42 - 0
keyboards/soldered/macro_pad/keyboard.json

@@ -0,0 +1,42 @@
+{
+    "manufacturer": "Soldered Electronics",
+    "keyboard_name": "Soldered Macro Pad",
+    "maintainer": "SolderedElectronics",
+    "bootloader": "rp2040",
+    "encoder": {
+        "rotary": [
+            {"pin_a": "GP18", "pin_b": "GP20"}
+        ]
+    },
+    "features": {
+        "bootmagic": true,
+        "encoder": true,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    },
+    "matrix_pins": {
+        "direct": [
+            ["GP9", "GP11", "GP19"],
+            ["GP10", "GP12", "GP13"]
+        ]
+    },
+    "processor": "RP2040",
+    "usb": {
+        "device_version": "1.0.0",
+        "pid": "0xAB3C",
+        "vid": "0xFEED"
+    },
+    "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": [1, 0], "x": 0, "y": 1},
+                {"matrix": [1, 1], "x": 1, "y": 1},
+                {"matrix": [1, 2], "x": 2, "y": 1}
+            ]
+        }
+    }
+}

+ 35 - 0
keyboards/soldered/macro_pad/keymaps/default/keymap.c

@@ -0,0 +1,35 @@
+/* Copyright 2025 Soldered Electronics <hello@soldered.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include QMK_KEYBOARD_H
+
+// Layer 0: media + utilities
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+    [0] = LAYOUT(
+        KC_MPRV,     // Previous Track
+        KC_MNXT,     // Next Track
+        KC_MUTE,     // Mute / Unmute - encoder button
+        KC_MPLY,     // Play / Pause
+        KC_CALC,     // Launch Calculator
+        KC_MAIL      // Launch Email client
+    )
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
+    [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU)  },
+};
+#endif

+ 1 - 0
keyboards/soldered/macro_pad/keymaps/default/rules.mk

@@ -0,0 +1 @@
+ENCODER_MAP_ENABLE = yes 

+ 23 - 0
keyboards/soldered/macro_pad/readme.md

@@ -0,0 +1,23 @@
+# Soldered Macro Pad
+
+![soldered_macro_pad](https://i.imgur.com/Sj12LhW.jpeg)
+
+Make your own Macro Pad! Soldered Macro Pad Solder Kit is a soldering kit which - when finished - turns into a functional macro pad! Using the pre-loaded QMK firmware, you can map the buttons to any custom function. Easily connect via USB-C. Soldered makes open source products for makers of all skill levels - so we thought to make a 'learn to solder' kit which leaves you with a functional result you can use in your day-to-day computing.
+
+* Keyboard Maintainer: [Soldered Electronics](https://github.com/SolderedElectronics)
+* Hardware Supported: Soldered Macro Pad PCB - Open source files and documentation are coming soon
+* Hardware Availability: Product links will be added soon, upon product launch, on [soldered.com](https://soldered.com)
+
+Make example for this keyboard (after setting up your build environment):
+
+    make soldered/macro_pad:default
+
+Flashing example for this keyboard:
+
+    make soldered/macro_pad:default: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
+
+Enter the bootloader by holding the BOOT MEMORY button upon plugging in. That's it! There you can copy your new .uf2 file.