summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-07 20:46:22 +1000
committerGitHub <noreply@github.com>2021-06-07 20:46:22 +1000
commit9dffd3576221b7a1e00e6b4ac5c90183218750b5 (patch)
treeeb5b6e26f69127e7c0419f5f2ccf7f2b58b2f9b0 /layouts
parentb10728edc1ce897939833ccca447640804888854 (diff)
downloadqmk_firmware-9dffd3576221b7a1e00e6b4ac5c90183218750b5.tar.gz
qmk_firmware-9dffd3576221b7a1e00e6b4ac5c90183218750b5.zip
Add default `ortho_1x1` layout (#13118)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default/ortho_1x1/default_ortho_1x1/keymap.c12
-rw-r--r--layouts/default/ortho_1x1/info.json14
-rw-r--r--layouts/default/ortho_1x1/layout.json1
-rw-r--r--layouts/default/ortho_1x1/readme.md3
4 files changed, 30 insertions, 0 deletions
diff --git a/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c b/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c
new file mode 100644
index 0000000000..e406daf7a8
--- /dev/null
+++ b/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
+ )
+};
diff --git a/layouts/default/ortho_1x1/info.json b/layouts/default/ortho_1x1/info.json
new file mode 100644
index 0000000000..e055fcb3e7
--- /dev/null
+++ b/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}
+ ]
+ }
+ }
+}
diff --git a/layouts/default/ortho_1x1/layout.json b/layouts/default/ortho_1x1/layout.json
new file mode 100644
index 0000000000..7f8bcf0ca1
--- /dev/null
+++ b/layouts/default/ortho_1x1/layout.json
@@ -0,0 +1 @@
+[{a:7},""]
diff --git a/layouts/default/ortho_1x1/readme.md b/layouts/default/ortho_1x1/readme.md
new file mode 100644
index 0000000000..c6352dd8d5
--- /dev/null
+++ b/layouts/default/ortho_1x1/readme.md
@@ -0,0 +1,3 @@
+# ortho_1x1
+
+ LAYOUT_ortho_1x1