From 6562c5a940fc469413c0cc7e9c6b19a18ca4988e Mon Sep 17 00:00:00 2001 From: Synth and Keys <117340582+Synth-and-Keys@users.noreply.github.com> Date: Thu, 10 Nov 2022 13:36:55 -0700 Subject: 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 --- keyboards/synthandkeys/the_debit_card/info.json | 44 ++++++++++++++++++++++ .../the_debit_card/keymaps/default/keymap.c | 22 +++++++++++ keyboards/synthandkeys/the_debit_card/readme.md | 27 +++++++++++++ keyboards/synthandkeys/the_debit_card/rules.mk | 1 + 4 files changed, 94 insertions(+) create mode 100644 keyboards/synthandkeys/the_debit_card/info.json create mode 100644 keyboards/synthandkeys/the_debit_card/keymaps/default/keymap.c create mode 100644 keyboards/synthandkeys/the_debit_card/readme.md create mode 100644 keyboards/synthandkeys/the_debit_card/rules.mk (limited to 'keyboards/synthandkeys/the_debit_card') diff --git a/keyboards/synthandkeys/the_debit_card/info.json b/keyboards/synthandkeys/the_debit_card/info.json new file mode 100644 index 0000000000..3902859e37 --- /dev/null +++ b/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 } + ] + } + } +} \ No newline at end of file diff --git a/keyboards/synthandkeys/the_debit_card/keymaps/default/keymap.c b/keyboards/synthandkeys/the_debit_card/keymaps/default/keymap.c new file mode 100644 index 0000000000..aa5468c45c --- /dev/null +++ b/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 + ) +}; \ No newline at end of file diff --git a/keyboards/synthandkeys/the_debit_card/readme.md b/keyboards/synthandkeys/the_debit_card/readme.md new file mode 100644 index 0000000000..db2fb14cf6 --- /dev/null +++ b/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 diff --git a/keyboards/synthandkeys/the_debit_card/rules.mk b/keyboards/synthandkeys/the_debit_card/rules.mk new file mode 100644 index 0000000000..c281ae9f6c --- /dev/null +++ b/keyboards/synthandkeys/the_debit_card/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank -- cgit v1.2.3