Browse Source

[Keyboard] Add Slimorta (#25348)

* Add Slimorta

* Update readme.md

* Apply suggestions from code review for #25348

Co-authored-by: jack <jack@pngu.org>

---------

Co-authored-by: jack <jack@pngu.org>
ASHIJA 1 year ago
parent
commit
f1b2449ce5

+ 86 - 0
keyboards/slimorta/keyboard.json

@@ -0,0 +1,86 @@
+{
+    "manufacturer": "ASHIJANKEN",
+    "keyboard_name": "Slimorta",
+    "maintainer": "ASHIJANKEN",
+    "development_board": "promicro",
+    "diode_direction": "COL2ROW",
+    "features": {
+        "bootmagic": true,
+        "extrakey": true,
+        "mousekey": true
+    },
+    "matrix_pins": {
+        "cols": ["D1", "D0", "D4", "C6", "D7", "E6"],
+        "rows": ["B4", "B5", "F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"]
+    },
+    "url": "https://github.com/ASHIJANKEN/Slimorta",
+    "usb": {
+        "device_version": "1.0.0",
+        "pid": "0x0001",
+        "vid": "0x4153"
+    },
+    "layouts": {
+        "LAYOUT": {
+            "layout": [
+                {"matrix": [2, 0], "x": 0, "y": 0},
+                {"matrix": [2, 1], "x": 1, "y": 0},
+                {"matrix": [2, 2], "x": 2, "y": 0},
+                {"matrix": [2, 3], "x": 3, "y": 0},
+                {"matrix": [2, 4], "x": 4, "y": 0},
+                {"matrix": [2, 5], "x": 5, "y": 0},
+                {"matrix": [0, 5], "x": 6, "y": 0},
+                {"matrix": [0, 4], "x": 7, "y": 0},
+                {"matrix": [0, 3], "x": 8, "y": 0},
+                {"matrix": [0, 2], "x": 9, "y": 0},
+                {"matrix": [0, 1], "x": 10, "y": 0},
+                {"matrix": [0, 0], "x": 11, "y": 0},
+                {"matrix": [3, 0], "x": 0, "y": 1},
+                {"matrix": [3, 1], "x": 1, "y": 1},
+                {"matrix": [3, 2], "x": 2, "y": 1},
+                {"matrix": [3, 3], "x": 3, "y": 1},
+                {"matrix": [3, 4], "x": 4, "y": 1},
+                {"matrix": [3, 5], "x": 5, "y": 1},
+                {"matrix": [1, 5], "x": 6, "y": 1},
+                {"matrix": [1, 4], "x": 7, "y": 1},
+                {"matrix": [1, 3], "x": 8, "y": 1},
+                {"matrix": [1, 2], "x": 9, "y": 1},
+                {"matrix": [1, 1], "x": 10, "y": 1},
+                {"matrix": [1, 0], "x": 11, "y": 1},
+                {"matrix": [4, 0], "x": 0, "y": 2},
+                {"matrix": [4, 1], "x": 1, "y": 2},
+                {"matrix": [4, 2], "x": 2, "y": 2},
+                {"matrix": [4, 3], "x": 3, "y": 2},
+                {"matrix": [4, 4], "x": 4, "y": 2},
+                {"matrix": [4, 5], "x": 5, "y": 2},
+                {"matrix": [7, 5], "x": 6, "y": 2},
+                {"matrix": [7, 4], "x": 7, "y": 2},
+                {"matrix": [7, 3], "x": 8, "y": 2},
+                {"matrix": [7, 2], "x": 9, "y": 2},
+                {"matrix": [7, 1], "x": 10, "y": 2},
+                {"matrix": [7, 0], "x": 11, "y": 2},
+                {"matrix": [5, 0], "x": 0, "y": 3},
+                {"matrix": [5, 1], "x": 1, "y": 3},
+                {"matrix": [5, 2], "x": 2, "y": 3},
+                {"matrix": [5, 3], "x": 3, "y": 3},
+                {"matrix": [5, 4], "x": 4, "y": 3},
+                {"matrix": [5, 5], "x": 5, "y": 3},
+                {"matrix": [8, 5], "x": 6, "y": 3},
+                {"matrix": [8, 4], "x": 7, "y": 3},
+                {"matrix": [8, 3], "x": 8, "y": 3},
+                {"matrix": [8, 2], "x": 9, "y": 3},
+                {"matrix": [8, 1], "x": 10, "y": 3},
+                {"matrix": [8, 0], "x": 11, "y": 3},
+                {"matrix": [6, 1], "x": 0.5, "y": 4},
+                {"matrix": [6, 2], "x": 1.5, "y": 4},
+                {"matrix": [6, 3], "x": 2.5, "y": 4},
+                {"matrix": [6, 4], "x": 3.5, "y": 4, "w": 1.25},
+                {"matrix": [6, 5], "x": 4.75, "y": 4, "w": 1.25},
+                {"matrix": [9, 5], "x": 6, "y": 4, "w": 1.25},
+                {"matrix": [9, 4], "x": 7.25, "y": 4, "w": 1.25},
+                {"matrix": [9, 3], "x": 8.5, "y": 4},
+                {"matrix": [9, 2], "x": 9.5, "y": 4},
+                {"matrix": [9, 1], "x": 10.5, "y": 4}
+            ]
+        }
+    }
+}

+ 27 - 0
keyboards/slimorta/keymaps/default/keymap.c

@@ -0,0 +1,27 @@
+// Copyright 2025 ASHIJANKEN (@ASHIJANKEN)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+    /*
+     * ┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
+     * │ Esc │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ BS  │
+     * ├─────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼─────┤
+     * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │  -  │
+     * ├─────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼─────┤
+     * │ Ctrl│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │  '  │
+     * ├─────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼─────┤
+     * │Shift│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift│
+     * └──┬──┴─┬─┴─┬─┴─┬─┴──┬┴───┼───┴┬──┴─┬─┴─┬─┴──┬┴───┬─┘
+     *    │LNG2|Alt│GUI│    │ SPC│ Ent│    │   │Ctrl│LNG1│
+     *    └────┴───┴───┴────┴────┴────┴────┴───┴────┴────┘
+     */
+    [0] = LAYOUT(
+        KC_ESC,  KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8,    KC_9, KC_0,    KC_BSPC,
+        KC_TAB,  KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I,    KC_O, KC_P,    KC_MINS,
+        KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K,    KC_L, KC_SCLN, KC_QUOT,
+        KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT,
+            KC_LNG2, KC_LALT, KC_LGUI, KC_NO, KC_SPC, KC_ENT, KC_NO, KC_NO, KC_LCTL, KC_LNG1
+    )
+};

+ 23 - 0
keyboards/slimorta/readme.md

@@ -0,0 +1,23 @@
+# Slimorta
+
+![slimorta](https://i.imgur.com/edsao2S.jpeg)
+
+Slimorta is a slim and portable ortholinear keyboard.
+
+* Keyboard Maintainer: [ASHIJANKEN](https://github.com/ASHIJANKEN)
+* Hardware Supported: Slimorta PCB, ProMicro
+* Hardware Availability: [PCB & Case Data](https://github.com/ASHIJANKEN/Slimorta)
+
+Make example for this keyboard (after setting up your build environment):
+
+    make slimorta:default
+
+Flashing example for this keyboard:
+
+    make slimorta: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
+
+**Physical reset button**: Press the button on the PCB twice briefly.