summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-11-30 06:38:33 +0000
committerQMK Bot <hello@qmk.fm>2022-11-30 06:38:33 +0000
commitb2c8e59cc1b5f43ae3e9e030b7349cb1ac4c6264 (patch)
tree4a92ca24849fd21978a4cbe8508f1c118b559e1a /layouts
parent891734e2d3327034811a529ccfea001a0751fa43 (diff)
parent2d45e5e4b464d0fc7e83d4065da9e797c7c4d580 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default/ortho_3x3/default_ortho_3x3/keymap.c18
-rw-r--r--layouts/default/ortho_3x3/info.json22
-rw-r--r--layouts/default/ortho_3x3/layout.json3
-rw-r--r--layouts/default/ortho_3x3/readme.md3
-rw-r--r--layouts/default/readme.md11
5 files changed, 57 insertions, 0 deletions
diff --git a/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c b/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c
new file mode 100644
index 0000000000..fbcca233bd
--- /dev/null
+++ b/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c
@@ -0,0 +1,18 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┐
+ * │ A │ B │ C │
+ * ├───┼───┼───┤
+ * │ D │ E │ F │
+ * ├───┼───┼───┤
+ * │ G │ H │ I │
+ * └───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_3x3(
+ KC_A, KC_B, KC_C,
+ KC_D, KC_E, KC_F,
+ KC_G, KC_H, KC_I
+ )
+};
diff --git a/layouts/default/ortho_3x3/info.json b/layouts/default/ortho_3x3/info.json
new file mode 100644
index 0000000000..4e0def90f4
--- /dev/null
+++ b/layouts/default/ortho_3x3/info.json
@@ -0,0 +1,22 @@
+{
+ "keyboard_name": "3x3 ortholinear layout",
+ "url": "",
+ "maintainer": "qmk",
+ "layouts": {
+ "LAYOUT_ortho_3x3": {
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+
+ {"x":0, "y":2},
+ {"x":1, "y":2},
+ {"x":2, "y":2}
+ ]
+ }
+ }
+}
diff --git a/layouts/default/ortho_3x3/layout.json b/layouts/default/ortho_3x3/layout.json
new file mode 100644
index 0000000000..7986a26a76
--- /dev/null
+++ b/layouts/default/ortho_3x3/layout.json
@@ -0,0 +1,3 @@
+["","",""],
+["","",""],
+["","",""]
diff --git a/layouts/default/ortho_3x3/readme.md b/layouts/default/ortho_3x3/readme.md
new file mode 100644
index 0000000000..b6b2053565
--- /dev/null
+++ b/layouts/default/ortho_3x3/readme.md
@@ -0,0 +1,3 @@
+# ortho_3x3
+
+ LAYOUT_ortho_3x3
diff --git a/layouts/default/readme.md b/layouts/default/readme.md
index 0d2182e671..8390281796 100644
--- a/layouts/default/readme.md
+++ b/layouts/default/readme.md
@@ -1060,6 +1060,17 @@ LAYOUT_ortho_2x6
```
```
+LAYOUT_ortho_3x3
+┌───┬───┬───┐
+│ │ │ │
+├───┼───┼───┤
+│ │ │ │
+├───┼───┼───┤
+│ │ │ │
+└───┴───┴───┘
+```
+
+```
LAYOUT_ortho_3x10
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│ │ │ │ │ │ │ │ │ │ │