Browse Source

Add SyenaKeyboards Elaruus (#23870)

* add syenakeyboard elaruus

* add syenakeyboards elaruus

* add syenakeyboards elaruus

* add syenakeyboards elaruus

* add syenakeyboards/elaruus

* add syenakeyboards elaruus

* add syenakeyboards elaruus

* add syenakeyboards elaruus

* Update keyboards/syenakeyboards/elaruus/keyboard.json

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/syenakeyboards/elaruus/keymaps/default/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

* Update keyboards/syenakeyboards/elaruus/keymaps/via/keymap.c

Co-authored-by: jack <0x6a73@protonmail.com>

---------

Co-authored-by: Syenasweta <syenasweta@gmail.com>
Co-authored-by: jack <0x6a73@protonmail.com>
Syenasweta a.k.a. Nashrullah Ali Fauzi 2 years ago
parent
commit
950d765370

+ 31 - 0
keyboards/syenakeyboards/elaruus/keyboard.json

@@ -0,0 +1,31 @@
+{
+    "manufacturer": "Syenasweta",
+    "keyboard_name": "SyenaKeyboards Elaruus",
+    "maintainer": "syenasweta",
+    "bootloader": "rp2040",
+    "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true
+    },
+    "matrix_pins": {
+        "cols": ["GP21", "GP19"],
+        "rows": ["GP10"]
+    },
+    "processor": "RP2040",
+    "url": "https://github.com/syenasweta/syenakeyboards",
+    "usb": {
+        "device_version": "1.0.0",
+        "pid": "0x6172",
+        "vid": "0x5373"
+    },
+    "layouts": {
+        "LAYOUT_ortho_1x2": {
+            "layout": [
+                {"matrix": [0, 0], "x": 0, "y": 0},
+                {"matrix": [0, 1], "x": 1, "y": 0}
+            ]
+        }
+    }
+}

+ 16 - 0
keyboards/syenakeyboards/elaruus/keymaps/default/keymap.c

@@ -0,0 +1,16 @@
+// Copyright 2024 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_1x2(
+        LT(1,KC_LEFT),  LT(2,KC_RIGHT)
+    ),
+    [1] = LAYOUT_ortho_1x2(
+        _______,          KC_UP
+    ),
+    [2] = LAYOUT_ortho_1x2(
+        KC_DOWN,        _______
+    )
+};

+ 16 - 0
keyboards/syenakeyboards/elaruus/keymaps/via/keymap.c

@@ -0,0 +1,16 @@
+// Copyright 2024 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_1x2(
+        LT(1,KC_LEFT),  LT(2,KC_RIGHT)
+    ),
+    [1] = LAYOUT_ortho_1x2(
+        _______,          KC_UP
+    ),
+    [2] = LAYOUT_ortho_1x2(
+        KC_DOWN,        _______
+    )
+};

+ 1 - 0
keyboards/syenakeyboards/elaruus/keymaps/via/rules.mk

@@ -0,0 +1 @@
+VIA_ENABLE = yes

+ 25 - 0
keyboards/syenakeyboards/elaruus/readme.md

@@ -0,0 +1,25 @@
+# SyenaKeyboards Elaruus
+
+![SyenaKeyboards Elaruus](https://i.imgur.com/6qU13gi.jpeg)
+
+Elaruus is ortholinear 1x2 mechanical keyboard with two switch for everythinks. The default functions are `left`, `right`. Elaruus is supported by QMK Firmware and VIA.
+
+* Keyboard Maintainer: [Syenasweta](https://github.com/syenasweta)
+* Hardware Supported: RP2040
+* Hardware Availability: [Tokopedia (Syenasweta)](https://tokopedia.link/Ak0c4uqpbKb)
+
+Make example for this keyboard (after setting up your build environment):
+
+    make syenakeyboards/elaruus:default
+
+Flashing example for this keyboard:
+
+    make syenakeyboards/elaruss: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 `left` by default) and plug in the keyboard.