summaryrefslogtreecommitdiff
path: root/layouts/default/ortho_2x3
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-07-20 00:30:40 +0000
committerQMK Bot <hello@qmk.fm>2021-07-20 00:30:40 +0000
commitf9332747e324f4fd131c4251cbc4996c7e9eb0a3 (patch)
tree12b95ad3968d0479e60d6593766bc708ee9b61d5 /layouts/default/ortho_2x3
parentf493f560cc85585b336930ca551a44df10aab90c (diff)
parent7e698c71cd8b9d0cdef6c622cfdd88a13e2a6587 (diff)
Merge remote-tracking branch 'origin/master' into develop
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