summaryrefslogtreecommitdiff
path: root/layouts/default/ortho_4x4
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/default/ortho_4x4')
-rw-r--r--layouts/default/ortho_4x4/default_ortho_4x4/keymap.c23
-rw-r--r--layouts/default/ortho_4x4/info.json32
-rw-r--r--layouts/default/ortho_4x4/layout.json2
-rw-r--r--layouts/default/ortho_4x4/readme.md2
4 files changed, 51 insertions, 8 deletions
diff --git a/layouts/default/ortho_4x4/default_ortho_4x4/keymap.c b/layouts/default/ortho_4x4/default_ortho_4x4/keymap.c
index 79581fa618..8045da8083 100644
--- a/layouts/default/ortho_4x4/default_ortho_4x4/keymap.c
+++ b/layouts/default/ortho_4x4/default_ortho_4x4/keymap.c
@@ -1,10 +1,21 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_4x4(
- KC_A, KC_B, KC_C, KC_D,
- KC_A, KC_B, KC_C, KC_D,
- KC_A, KC_B, KC_C, KC_D,
- KC_A, KC_B, KC_C, KC_D
+ /*
+ * ┌───┬───┬───┬───┐
+ * │ 7 │ 8 │ 9 │ / │
+ * ├───┼───┼───┼───┤
+ * │ 4 │ 5 │ 6 │ * │
+ * ├───┼───┼───┼───┤
+ * │ 1 │ 2 │ 3 │ - │
+ * ├───┼───┼───┼───┤
+ * │ 0 │ . │Ent│ + │
+ * └───┴───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_4x4(
+ KC_P7, KC_P8, KC_P9, KC_PSLS,
+ KC_P4, KC_P5, KC_P6, KC_PAST,
+ KC_P1, KC_P2, KC_P3, KC_PMNS,
+ KC_P0, KC_PDOT, KC_PENT, KC_PPLS
)
-}; \ No newline at end of file
+};
diff --git a/layouts/default/ortho_4x4/info.json b/layouts/default/ortho_4x4/info.json
new file mode 100644
index 0000000000..2bf6376dbd
--- /dev/null
+++ b/layouts/default/ortho_4x4/info.json
@@ -0,0 +1,32 @@
+{
+ "keyboard_name": "4x4 ortholinear layout",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 4,
+ "height": 4,
+ "layouts": {
+ "LAYOUT_ortho_4x4": {
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+ {"x":3, "y":0},
+
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+
+ {"x":0, "y":2},
+ {"x":1, "y":2},
+ {"x":2, "y":2},
+ {"x":3, "y":2},
+
+ {"x":0, "y":3},
+ {"x":1, "y":3},
+ {"x":2, "y":3},
+ {"x":3, "y":3}
+ ]
+ }
+ }
+}
diff --git a/layouts/default/ortho_4x4/layout.json b/layouts/default/ortho_4x4/layout.json
index ef2a095267..acecc8ab6c 100644
--- a/layouts/default/ortho_4x4/layout.json
+++ b/layouts/default/ortho_4x4/layout.json
@@ -1,4 +1,4 @@
-["","","",""],
+[{a:7},"","","",""],
["","","",""],
["","","",""],
["","","",""]
diff --git a/layouts/default/ortho_4x4/readme.md b/layouts/default/ortho_4x4/readme.md
index b7afef7b88..2c94c4c1cd 100644
--- a/layouts/default/ortho_4x4/readme.md
+++ b/layouts/default/ortho_4x4/readme.md
@@ -1,3 +1,3 @@
# ortho_4x4
- LAYOUT_ortho_4x4 \ No newline at end of file
+ LAYOUT_ortho_4x4