Bladeren bron

Adding Synth and Keys' Debit Card (#18995)

* Adding Synth and Keys' Debit Card

Initial Commit

* Add files via upload

* Delete config.h

* Update keyboards/synthandkeys/the_debit_card/info.json

Co-authored-by: Joel Challis <git@zvecr.com>
Synth and Keys 2 jaren geleden
bovenliggende
commit
6562c5a940

+ 44 - 0
keyboards/synthandkeys/the_debit_card/info.json

@@ -0,0 +1,44 @@
+{
+    "manufacturer": "Synth and Keys",
+    "keyboard_name": "synthandkeys/the_debit_card",
+    "maintainer": "Synth-and-Keys",
+    "bootloader": "rp2040",
+    "features": {
+        "bootmagic": true,
+        "command": false,
+        "console": false,
+        "extrakey": true,
+        "mousekey": true,
+        "nkro": true
+    },
+    "matrix_pins": {
+        "direct": [
+            ["GP6", "GP7", "GP0", null],
+            ["GP27", "GP28", "GP29", null],
+            ["GP1", "GP2", "GP4", "GP3"]
+        ]
+    },
+    "processor": "RP2040",
+    "url": "",
+    "usb": {
+        "device_version": "1.0.0",
+        "pid": "0x0000",
+        "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 },
+                { "matrix": [2, 0], "x": 0, "y": 2 },
+                { "matrix": [2, 1], "x": 1, "y": 2 },
+                { "matrix": [2, 2], "x": 2, "y": 2 },
+                { "matrix": [2, 3], "x": 3, "y": 1.5, "h": 1.5 }
+            ]
+        }
+    }
+}

+ 22 - 0
keyboards/synthandkeys/the_debit_card/keymaps/default/keymap.c

@@ -0,0 +1,22 @@
+// Copyright 2022 Synth and Keys (@Synth-and-Keys)
+// SPDX-License-Identifier: GPL-2.0-or-later
+#include QMK_KEYBOARD_H
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+    /*
+     * -------------
+     * | 1 | 2 | 3 |
+     * -------------
+     * | 4 | 5 | 6 |
+     * -----------------
+     * | 7 | 8 | 9 | 0 |
+     * -----------------
+
+     */
+    [0] = LAYOUT(
+        KC_P1,   KC_P2,   KC_P3,
+        KC_P4,   KC_P5,   KC_P6,
+        KC_P7,   KC_P8,   KC_P9,   KC_P0
+    )
+};

+ 27 - 0
keyboards/synthandkeys/the_debit_card/readme.md

@@ -0,0 +1,27 @@
+# synthandkeys/the_debit_card
+
+![synthandkeys/the_debit_card](https://i.imgur.com/8dpEv73.jpeg)
+
+The Debit Card is a 10-key programmable mechanical keyboard that could fit in your wallet. The ultra-thin, ultra-portable macropad is powered by the XIAO RP2040 and can support KMK, QMK, or VIAL open-source keyboard firmware.
+
+* Keyboard Maintainer: [Synth and Keys](https://github.com/Synth-and-Keys)
+* Hardware Supported: The Debit Card PCB, Seeed XIAO MCU
+* Hardware Availability: https://etsy.me/3UslJQF, https://www.seeedstudio.com/XIAO-RP2040-v1-0-p-5026.html
+
+Make example for this keyboard (after setting up your build environment):
+
+    make synthandkeys/the_debit_card:default
+
+Flashing example for this keyboard:
+
+    make synthandkeys/the_debit_card: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 in 3 ways:
+
+* **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**: Press the button on the Seeed XIAO microcontroller twice.
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

+ 1 - 0
keyboards/synthandkeys/the_debit_card/rules.mk

@@ -0,0 +1 @@
+# This file intentionally left blank