summaryrefslogtreecommitdiff
path: root/layouts/default/ortho_2x3
diff options
context:
space:
mode:
authorSuschman <Suschman@users.noreply.github.com>2021-07-20 02:30:09 +0200
committerGitHub <noreply@github.com>2021-07-19 17:30:09 -0700
commit7e698c71cd8b9d0cdef6c622cfdd88a13e2a6587 (patch)
treef94f7ba52479e650a90200095cb21f4e0c1a7846 /layouts/default/ortho_2x3
parent046429fa87ab26bd131c262e590aa6cd03dd9f75 (diff)
Six Pack and ortho_ layout updates (#13587)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Suschman <suschman@gmail.com>
Diffstat (limited to 'layouts/default/ortho_2x3')
-rw-r--r--layouts/default/ortho_2x3/default_ortho_2x3/keymap.c15
-rw-r--r--layouts/default/ortho_2x3/info.json20
-rw-r--r--layouts/default/ortho_2x3/layout.json2
-rw-r--r--layouts/default/ortho_2x3/readme.md3
4 files changed, 40 insertions, 0 deletions
diff --git a/layouts/default/ortho_2x3/default_ortho_2x3/keymap.c b/layouts/default/ortho_2x3/default_ortho_2x3/keymap.c
new file mode 100644
index 0000000000..a38146d020
--- /dev/null
+++ b/layouts/default/ortho_2x3/default_ortho_2x3/keymap.c
@@ -0,0 +1,15 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┐
+ * │ A │ B │ C │
+ * ├───┼───┼───┤
+ * │ D │ E │ F │
+ * └───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_2x3(
+ KC_A, KC_B, KC_C,
+ KC_D, KC_E, KC_F
+ )
+};
diff --git a/layouts/default/ortho_2x3/info.json b/layouts/default/ortho_2x3/info.json
new file mode 100644
index 0000000000..d39e5cc8d4
--- /dev/null
+++ b/layouts/default/ortho_2x3/info.json
@@ -0,0 +1,20 @@
+{
+ "keyboard_name": "2x3 ortholinear layout",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 3,
+ "height": 2,
+ "layouts": {
+ "LAYOUT_ortho_2x3": {
+ "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}
+ ]
+ }
+ }
+}
diff --git a/layouts/default/ortho_2x3/layout.json b/layouts/default/ortho_2x3/layout.json
new file mode 100644
index 0000000000..255792193e
--- /dev/null
+++ b/layouts/default/ortho_2x3/layout.json
@@ -0,0 +1,2 @@
+["","",""],
+["","",""]
diff --git a/layouts/default/ortho_2x3/readme.md b/layouts/default/ortho_2x3/readme.md
new file mode 100644
index 0000000000..47ae0f6864
--- /dev/null
+++ b/layouts/default/ortho_2x3/readme.md
@@ -0,0 +1,3 @@
+# ortho_2x3
+
+ LAYOUT_ortho_2x3