Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Add SyenaKeyboards #22168

Merged
merged 13 commits into from
Oct 3, 2023
20 changes: 20 additions & 0 deletions keyboards/syenakeyboards/aswagata/config.h
drashna marked this conversation as resolved.
Show resolved Hide resolved
drashna marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 2023 Syenasweta (@syenasweta)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
//#define NO_DEBUG

/* disable print */
//#define NO_PRINT

/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
36 changes: 36 additions & 0 deletions keyboards/syenakeyboards/aswagata/info.json
Original file line number Diff line number Diff line change
@@ -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": "0x0003",
"vid": "0x2E8A"
}
"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}
]
}
}
}
11 changes: 11 additions & 0 deletions keyboards/syenakeyboards/aswagata/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
11 changes: 11 additions & 0 deletions keyboards/syenakeyboards/aswagata/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};
1 change: 1 addition & 0 deletions keyboards/syenakeyboards/aswagata/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
27 changes: 27 additions & 0 deletions keyboards/syenakeyboards/aswagata/readme.md
drashna marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# syenakeyboards/aswagata

![SyenaKeyboards Aswagata](https://images.tokopedia.net/img/cache/900/VqbcmM/2023/9/30/dc3e20b5-eb94-4f92-8a44-f2f556dcc1ab.jpg)
drashna marked this conversation as resolved.
Show resolved Hide resolved

Aswagata as a macro keyboard has four buttons with special functions: Copy, Paste, Cut, and Select.

* Keyboard Maintainer: [Syenasweta](https://github.com/syenasweta)
* Hardware Supported: RP2040
* Hardware Availability: [Tokopedia (Syenasweta)](https://tokopedia.link/iG6UfrrHvDb)

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 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Copy key) and plug in the keyboard
drashna marked this conversation as resolved.
Show resolved Hide resolved
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
drashna marked this conversation as resolved.
Show resolved Hide resolved
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
1 change: 1 addition & 0 deletions keyboards/syenakeyboards/aswagata/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank