From 1e7c2a8926ad7e64d9203dc35226e6f3c3191a63 Mon Sep 17 00:00:00 2001 From: spacehangover <51838046+spacehangover@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:31:19 -0300 Subject: [PATCH] Added SoyuzXL Macropad (#23075) * added mercury macropad WWA * Revert "added mercury macropad WWA" This reverts commit 81b48185d37ad704781c07bf6d9df2203a897de7. * added Mercury macropad WWA * added Soyuz Macropad * Added Soyuz XL Macropad --- keyboards/handwired/wwa/soyuzxl/info.json | 55 +++++++++++++++++++ .../wwa/soyuzxl/keymaps/default/keymap.c | 13 +++++ .../wwa/soyuzxl/keymaps/via/keymap.c | 13 +++++ .../wwa/soyuzxl/keymaps/via/rules.mk | 1 + keyboards/handwired/wwa/soyuzxl/readme.md | 27 +++++++++ keyboards/handwired/wwa/soyuzxl/rules.mk | 0 6 files changed, 109 insertions(+) create mode 100644 keyboards/handwired/wwa/soyuzxl/info.json create mode 100644 keyboards/handwired/wwa/soyuzxl/keymaps/default/keymap.c create mode 100644 keyboards/handwired/wwa/soyuzxl/keymaps/via/keymap.c create mode 100644 keyboards/handwired/wwa/soyuzxl/keymaps/via/rules.mk create mode 100644 keyboards/handwired/wwa/soyuzxl/readme.md create mode 100644 keyboards/handwired/wwa/soyuzxl/rules.mk diff --git a/keyboards/handwired/wwa/soyuzxl/info.json b/keyboards/handwired/wwa/soyuzxl/info.json new file mode 100644 index 00000000000..9180344176c --- /dev/null +++ b/keyboards/handwired/wwa/soyuzxl/info.json @@ -0,0 +1,55 @@ +{ + "manufacturer": "spacehangover", + "keyboard_name": "SoyuzXL", + "maintainer": "spacehangover", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4"], + "rows": ["B5", "B2", "B3"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0005", + "vid": "0x5757" + }, + "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": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "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": [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": [2, 4], "x": 4, "y": 2}, + {"matrix": [2, 5], "x": 5, "y": 2}, + {"matrix": [2, 6], "x": 6, "y": 2} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/handwired/wwa/soyuzxl/keymaps/default/keymap.c b/keyboards/handwired/wwa/soyuzxl/keymaps/default/keymap.c new file mode 100644 index 00000000000..af0eb592dc7 --- /dev/null +++ b/keyboards/handwired/wwa/soyuzxl/keymaps/default/keymap.c @@ -0,0 +1,13 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, + KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, + KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24 + ) +}; \ No newline at end of file diff --git a/keyboards/handwired/wwa/soyuzxl/keymaps/via/keymap.c b/keyboards/handwired/wwa/soyuzxl/keymaps/via/keymap.c new file mode 100644 index 00000000000..af0eb592dc7 --- /dev/null +++ b/keyboards/handwired/wwa/soyuzxl/keymaps/via/keymap.c @@ -0,0 +1,13 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, + KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, + KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24 + ) +}; \ No newline at end of file diff --git a/keyboards/handwired/wwa/soyuzxl/keymaps/via/rules.mk b/keyboards/handwired/wwa/soyuzxl/keymaps/via/rules.mk new file mode 100644 index 00000000000..036bd6d1c3e --- /dev/null +++ b/keyboards/handwired/wwa/soyuzxl/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/handwired/wwa/soyuzxl/readme.md b/keyboards/handwired/wwa/soyuzxl/readme.md new file mode 100644 index 00000000000..329acb36b6b --- /dev/null +++ b/keyboards/handwired/wwa/soyuzxl/readme.md @@ -0,0 +1,27 @@ +# soyuzxl + +![soyuzxl](https://i.imgur.com/njUq2s3h.jpeg) + +21 Keys, 4 Potentiometers and 1 Fader MIDI Macro Keyboard + +* Keyboard Maintainer: [spacehangover](https://github.com/spacehangover) +* Hardware Supported: Arduino Pro Micro, B103K Slide Pot, 10k Pots Handwired +* Hardware Availability: Arduino Pro Micro + +Make example for this keyboard (after setting up your build environment): + + make handwired/wwa/soyuzxl:default + +Flashing example for this keyboard: + + make handwired/wwa/soyuzxl: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 diff --git a/keyboards/handwired/wwa/soyuzxl/rules.mk b/keyboards/handwired/wwa/soyuzxl/rules.mk new file mode 100644 index 00000000000..e69de29bb2d