Explorar o código

Add default `ortho_1x1` layout (#13118)

Ryan %!s(int64=4) %!d(string=hai) anos
pai
achega
9dffd35762

+ 12 - 0
layouts/default/ortho_1x1/default_ortho_1x1/keymap.c

@@ -0,0 +1,12 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+    /*
+     * ┌───┐
+     * │ A │
+     * └───┘
+     */
+    [0] = LAYOUT_ortho_1x1(
+        KC_A
+    )
+};

+ 14 - 0
layouts/default/ortho_1x1/info.json

@@ -0,0 +1,14 @@
+{
+    "keyboard_name": "1x1 ortholinear layout",
+    "url": "",
+    "maintainer": "qmk",
+    "width": 1,
+    "height": 1,
+    "layouts": {
+        "LAYOUT_ortho_1x1": {
+            "layout": [
+                {"x":0, "y":0}
+            ]
+        }
+    }
+}

+ 1 - 0
layouts/default/ortho_1x1/layout.json

@@ -0,0 +1 @@
+[{a:7},""]

+ 3 - 0
layouts/default/ortho_1x1/readme.md

@@ -0,0 +1,3 @@
+# ortho_1x1
+
+    LAYOUT_ortho_1x1