summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorTrent Hoh <trenthoh@gmail.com>2021-08-29 19:09:43 +0800
committerGitHub <noreply@github.com>2021-08-29 04:09:43 -0700
commitf87cd8e8a02bf89d05737a19fd54e8ec6f63f90f (patch)
tree02c579583cef6e4fb3ee1e7a2f90a6400233bcd5 /layouts
parent94d7635a4a8e335c743b4e77f8dd340665d43437 (diff)
[Keyboard] Corrected layout for np24 by YMDK (#14096)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default/ortho_4x6/default_ortho_4x6/keymap.c21
-rw-r--r--layouts/default/ortho_4x6/info.json40
-rw-r--r--layouts/default/ortho_4x6/layout.json4
-rw-r--r--layouts/default/ortho_4x6/readme.md3
4 files changed, 68 insertions, 0 deletions
diff --git a/layouts/default/ortho_4x6/default_ortho_4x6/keymap.c b/layouts/default/ortho_4x6/default_ortho_4x6/keymap.c
new file mode 100644
index 0000000000..b960ee3a9d
--- /dev/null
+++ b/layouts/default/ortho_4x6/default_ortho_4x6/keymap.c
@@ -0,0 +1,21 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┬───┬───┐
+ * │Tab│ Q │ W │ E │ R │ T │
+ * ├───┼───┼───┼───┼───┼───┤
+ * │Bsp│ A │ S │ D │ F │ G │
+ * ├───┼───┼───┼───┼───┼───┤
+ * │Sft│ Z │ X │ C │ V │ B │
+ * ├───┼───┼───┼───┼───┼───┤
+ * │Ctl│App│GUI│Alt│Spc│Spc│
+ * └───┴───┴───┴───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_4x6(
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
+ KC_BKSP, KC_A, KC_S, KC_D, KC_F, KC_G,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
+ KC_LCTL, KC_MENU, KC_LGUI, KC_LALT, KC_SPC, KC_SPC
+ )
+};
diff --git a/layouts/default/ortho_4x6/info.json b/layouts/default/ortho_4x6/info.json
new file mode 100644
index 0000000000..64ee28dc60
--- /dev/null
+++ b/layouts/default/ortho_4x6/info.json
@@ -0,0 +1,40 @@
+{
+ "keyboard_name": "4x6 ortholinear layout",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 4,
+ "height": 4,
+ "layouts": {
+ "LAYOUT_ortho_4x6": {
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+ {"x":3, "y":0},
+ {"x":4, "y":0},
+ {"x":5, "y":0},
+
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":4, "y":1},
+ {"x":5, "y":1},
+
+ {"x":0, "y":2},
+ {"x":1, "y":2},
+ {"x":2, "y":2},
+ {"x":3, "y":2},
+ {"x":4, "y":2},
+ {"x":5, "y":2},
+
+ {"x":0, "y":3},
+ {"x":1, "y":3},
+ {"x":2, "y":3},
+ {"x":3, "y":3},
+ {"x":4, "y":3},
+ {"x":5, "y":3}
+ ]
+ }
+ }
+}
diff --git a/layouts/default/ortho_4x6/layout.json b/layouts/default/ortho_4x6/layout.json
new file mode 100644
index 0000000000..46402c64bd
--- /dev/null
+++ b/layouts/default/ortho_4x6/layout.json
@@ -0,0 +1,4 @@
+[{a:7},"","","","","",""],
+["","","","","",""],
+["","","","","",""],
+["","","","","",""]
diff --git a/layouts/default/ortho_4x6/readme.md b/layouts/default/ortho_4x6/readme.md
new file mode 100644
index 0000000000..67c6175ee8
--- /dev/null
+++ b/layouts/default/ortho_4x6/readme.md
@@ -0,0 +1,3 @@
+# ortho_4x6
+
+ LAYOUT_ortho_4x6