From 0c21d576d0b8d4ac5ac03b8347e192b2a5597130 Mon Sep 17 00:00:00 2001 From: lfischer79 <75506047+lfischer79@users.noreply.github.com> Date: Thu, 26 Sep 2024 07:59:30 -0400 Subject: [PATCH] info.json { "manufacturer": "Worldspawn00", "keyboard_name": "Memoria 2.0a", "maintainer": "Worldspawn00", "bootloader": "rp2040", "diode_direction": "COL2ROW", "features": { "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "encoder": true, "nkro": true }, "matrix_pins": { "cols": ["GP19", "GP25", "GP24", "GP10", "GP9", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP0"], "rows": ["GP28", "GP26", "GP29", "GP20", "GP23"] }, { "encoder": { "rotary": [ { "pin_a": "GP11", "pin_b": "GP12", "resolution": 4 } ] } }, "processor": "RP2040", "url": "https://github.com/shinkaimayano/Memoria", "usb": { "device_version": "2.0a", "pid": "0x0003", "vid": "0x548C" }, "layouts": { "LAYOUT": { "layout": [ { "matrix": [0, 1], "x": 0.5, "y": 0 }, { "matrix": [0, 2], "x": 1.5, "y": 0 }, { "matrix": [0, 3], "x": 2.5, "y": 0 }, { "matrix": [0, 4], "x": 3.5, "y": 0 }, { "matrix": [0, 5], "x": 4.5, "y": 0 }, { "matrix": [0, 6], "x": 5.5, "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 }, { "matrix": [1, 4], "x": 4, "y": 1 }, { "matrix": [1, 5], "x": 5, "y": 1 }, { "matrix": [1, 6], "x": 6, "y": 1 }, { "matrix": [1, 7], "x": 7, "y": 1 }, { "matrix": [1, 8], "x": 8, "y": 1 }, { "matrix": [1, 9], "x": 9, "y": 1 }, { "matrix": [1, 10], "x": 10, "y": 1 }, { "matrix": [1, 11], "x": 11, "y": 1 }, { "matrix": [2, 0], "x": 0, "y": 2 }, { "matrix": [2, 1], "x": 1.25, "y": 2 }, { "matrix": [2, 2], "x": 2.25, "y": 2 }, { "matrix": [2, 3], "x": 3.25, "y": 2 }, { "matrix": [2, 4], "x": 4.25, "y": 2 }, { "matrix": [2, 5], "x": 5.25, "y": 2 }, { "matrix": [2, 6], "x": 6.25, "y": 2 }, { "matrix": [2, 7], "x": 7.25, "y": 2 }, { "matrix": [2, 8], "x": 8.25, "y": 2 }, { "matrix": [2, 9], "x": 9.25, "y": 2 }, { "matrix": [2, 10], "x": 10.25, "y": 2 }, { "matrix": [2, 11], "x": 11.25, "y": 2 }, { "matrix": [3, 0], "x": 0, "y": 3 }, { "matrix": [3, 1], "x": 1.75, "y": 3 }, { "matrix": [3, 2], "x": 2.75, "y": 3 }, { "matrix": [3, 3], "x": 3.75, "y": 3 }, { "matrix": [3, 4], "x": 4.75, "y": 3 }, { "matrix": [3, 5], "x": 5.75, "y": 3 }, { "matrix": [3, 6], "x": 6.75, "y": 3 }, { "matrix": [3, 7], "x": 7.75, "y": 3 }, { "matrix": [3, 8], "x": 8.75, "y": 3 }, { "matrix": [3, 9], "x": 9.75, "y": 3 }, { "matrix": [3, 10], "x": 10.75, "y": 3 }, { "matrix": [3, 11], "x": 11.75, "y": 3 }, { "matrix": [4, 0], "x": 0, "y": 4 }, { "matrix": [4, 1], "x": 1.25, "y": 4 }, { "matrix": [4, 2], "x": 2.25, "y": 4 }, { "matrix": [4, 5], "x": 3.5, "y": 4 }, { "matrix": [4, 9], "x": 9.75, "y": 4 }, { "matrix": [4, 10], "x": 10.75, "y": 4 }, { "matrix": [4, 11], "x": 11.75, "y": 4 } ] } } } --- keyboards/memoria/keyboard.json | 48 ++++++++++++++++++++++ keyboards/memoria/keymaps/default/keymap.c | 24 +++++++++++ keyboards/memoria/readme.md | 27 ++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 keyboards/memoria/keyboard.json create mode 100644 keyboards/memoria/keymaps/default/keymap.c create mode 100644 keyboards/memoria/readme.md diff --git a/keyboards/memoria/keyboard.json b/keyboards/memoria/keyboard.json new file mode 100644 index 00000000000..6a904b9ba7b --- /dev/null +++ b/keyboards/memoria/keyboard.json @@ -0,0 +1,48 @@ +{ + "manufacturer": "lfischer79", + "keyboard_name": "memoria", + "maintainer": "lfischer79", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["C2", "C2", "C2", "C2"], + "rows": ["D1", "D1", "D1", "D1"] + }, + "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": [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}, + {"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": 2}, + {"matrix": [3, 0], "x": 0, "y": 3}, + {"matrix": [3, 1], "x": 1, "y": 3}, + {"matrix": [3, 2], "x": 2, "y": 3}, + {"matrix": [3, 3], "x": 3, "y": 3} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/memoria/keymaps/default/keymap.c b/keyboards/memoria/keymaps/default/keymap.c new file mode 100644 index 00000000000..a0c5b3bd6cf --- /dev/null +++ b/keyboards/memoria/keymaps/default/keymap.c @@ -0,0 +1,24 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┐ + * │ 7 │ 8 │ 9 │ / │ + * ├───┼───┼───┼───┤ + * │ 4 │ 5 │ 6 │ * │ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ - │ + * ├───┼───┼───┼───┤ + * │ 0 │ . │Ent│ + │ + * └───┴───┴───┴───┘ + */ + [0] = LAYOUT( + KC_P7, KC_P8, KC_P9, KC_PSLS, + KC_P4, KC_P5, KC_P6, KC_PAST, + KC_P1, KC_P2, KC_P3, KC_PMNS, + KC_P0, KC_PDOT, KC_PENT, KC_PPLS + ) +}; diff --git a/keyboards/memoria/readme.md b/keyboards/memoria/readme.md new file mode 100644 index 00000000000..c9119cfa407 --- /dev/null +++ b/keyboards/memoria/readme.md @@ -0,0 +1,27 @@ +# memoria + +![memoria](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [lfischer79](https://github.com/lfischer79) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make memoria:default + +Flashing example for this keyboard: + + make memoria: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**: 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