From bc5d407bf723057df8b450947239fb44923de505 Mon Sep 17 00:00:00 2001 From: Syenasweta Date: Tue, 3 Oct 2023 14:34:06 +0700 Subject: [PATCH] [Keyboard] Add SyenaKeyboards (#22168) Co-authored-by: Syenasweta --- keyboards/syenakeyboards/aswagata/info.json | 36 +++++++++++++++++++ .../aswagata/keymaps/default/keymap.c | 11 ++++++ .../aswagata/keymaps/via/keymap.c | 11 ++++++ .../aswagata/keymaps/via/rules.mk | 1 + keyboards/syenakeyboards/aswagata/readme.md | 25 +++++++++++++ keyboards/syenakeyboards/aswagata/rules.mk | 1 + 6 files changed, 85 insertions(+) create mode 100644 keyboards/syenakeyboards/aswagata/info.json create mode 100644 keyboards/syenakeyboards/aswagata/keymaps/default/keymap.c create mode 100644 keyboards/syenakeyboards/aswagata/keymaps/via/keymap.c create mode 100644 keyboards/syenakeyboards/aswagata/keymaps/via/rules.mk create mode 100644 keyboards/syenakeyboards/aswagata/readme.md create mode 100644 keyboards/syenakeyboards/aswagata/rules.mk diff --git a/keyboards/syenakeyboards/aswagata/info.json b/keyboards/syenakeyboards/aswagata/info.json new file mode 100644 index 0000000000..1f2cf798bb --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/info.json @@ -0,0 +1,36 @@ +{ + "manufacturer": "Syenasweta", + "keyboard_name": "SyenaKeyboards Aswagata", + "maintainer": "syenasweta", + "bootloader": "rp2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": true, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["GP20", "GP21"], + "rows": ["GP10", "GP11"] + }, + "processor": "RP2040", + "url": "https://github.com/syenasweta/syenakeyboards", + "usb": { + "device_version": "1.0.0", + "pid": "0x4173", + "vid": "0x5373" + } + "layouts": { + "LAYOUT_ortho_2x2": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1} + ] + } + } +} diff --git a/keyboards/syenakeyboards/aswagata/keymaps/default/keymap.c b/keyboards/syenakeyboards/aswagata/keymaps/default/keymap.c new file mode 100644 index 0000000000..48bdb8ffb4 --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/keymaps/default/keymap.c @@ -0,0 +1,11 @@ +// 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_ortho_2x2( + KC_COPY, KC_PASTE, + KC_SELECT, KC_CUT + ) +}; diff --git a/keyboards/syenakeyboards/aswagata/keymaps/via/keymap.c b/keyboards/syenakeyboards/aswagata/keymaps/via/keymap.c new file mode 100644 index 0000000000..4dd4706744 --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/keymaps/via/keymap.c @@ -0,0 +1,11 @@ +// 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_ortho_2x2( + KC_COPY, KC_PASTE, + KC_SELECT, KC_CUT + ) +}; \ No newline at end of file diff --git a/keyboards/syenakeyboards/aswagata/keymaps/via/rules.mk b/keyboards/syenakeyboards/aswagata/keymaps/via/rules.mk new file mode 100644 index 0000000000..036bd6d1c3 --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/syenakeyboards/aswagata/readme.md b/keyboards/syenakeyboards/aswagata/readme.md new file mode 100644 index 0000000000..5b9673d96f --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/readme.md @@ -0,0 +1,25 @@ +# SyenaKeyboards Aswagata + +![SyenaKeyboards Aswagata](https://i.imgur.com/JMiFegah.jpg) + +Aswagata is a macropad with four buttons. The default functions are `copy`, `paste`, `cut`, and `select` for Linux, but can be customized. + +* Keyboard Maintainer: [Syenasweta](https://github.com/syenasweta) +* Hardware Supported: RP2040 +* Hardware Availability: [Tokopedia (Syenasweta)](https://tokopedia.link/gDJ6Rgp4xDb) + +Make example for this keyboard (after setting up your build environment): + + make syenakeyboards/aswagata:default + +Flashing example for this keyboard: + + make syenakeyboards/aswagata: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 1 ways: + +* **Bootmagic reset**: Hold down the top left key (assigned to `copy` by default) and plug in the keyboard. diff --git a/keyboards/syenakeyboards/aswagata/rules.mk b/keyboards/syenakeyboards/aswagata/rules.mk new file mode 100644 index 0000000000..7ff128fa69 --- /dev/null +++ b/keyboards/syenakeyboards/aswagata/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file