aboutsummaryrefslogtreecommitdiff
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)
downloadqmk_firmware-f87cd8e8a02bf89d05737a19fd54e8ec6f63f90f.tar.gz
qmk_firmware-f87cd8e8a02bf89d05737a19fd54e8ec6f63f90f.zip
[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 000000000..b960ee3a9
--- /dev/null
+++ b/layouts/default/ortho_4x6/default_ortho_4x6/keymap.c
@@ -0,0 +1,21 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4 /*
5 * ┌───┬───┬───┬───┬───┬───┐
6 * │Tab│ Q │ W │ E │ R │ T │
7 * ├───┼───┼───┼───┼───┼───┤
8 * │Bsp│ A │ S │ D │ F │ G │
9 * ├───┼───┼───┼───┼───┼───┤
10 * │Sft│ Z │ X │ C │ V │ B │
11 * ├───┼───┼───┼───┼───┼───┤
12 * │Ctl│App│GUI│Alt│Spc│Spc│
13 * └───┴───┴───┴───┴───┴───┘
14 */
15 [0] = LAYOUT_ortho_4x6(
16 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
17 KC_BKSP, KC_A, KC_S, KC_D, KC_F, KC_G,
18 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
19 KC_LCTL, KC_MENU, KC_LGUI, KC_LALT, KC_SPC, KC_SPC
20 )
21};
diff --git a/layouts/default/ortho_4x6/info.json b/layouts/default/ortho_4x6/info.json
new file mode 100644
index 000000000..64ee28dc6
--- /dev/null
+++ b/layouts/default/ortho_4x6/info.json
@@ -0,0 +1,40 @@
1{
2 "keyboard_name": "4x6 ortholinear layout",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 4,
6 "height": 4,
7 "layouts": {
8 "LAYOUT_ortho_4x6": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16
17 {"x":0, "y":1},
18 {"x":1, "y":1},
19 {"x":2, "y":1},
20 {"x":3, "y":1},
21 {"x":4, "y":1},
22 {"x":5, "y":1},
23
24 {"x":0, "y":2},
25 {"x":1, "y":2},
26 {"x":2, "y":2},
27 {"x":3, "y":2},
28 {"x":4, "y":2},
29 {"x":5, "y":2},
30
31 {"x":0, "y":3},
32 {"x":1, "y":3},
33 {"x":2, "y":3},
34 {"x":3, "y":3},
35 {"x":4, "y":3},
36 {"x":5, "y":3}
37 ]
38 }
39 }
40}
diff --git a/layouts/default/ortho_4x6/layout.json b/layouts/default/ortho_4x6/layout.json
new file mode 100644
index 000000000..46402c64b
--- /dev/null
+++ b/layouts/default/ortho_4x6/layout.json
@@ -0,0 +1,4 @@
1[{a:7},"","","","","",""],
2["","","","","",""],
3["","","","","",""],
4["","","","","",""]
diff --git a/layouts/default/ortho_4x6/readme.md b/layouts/default/ortho_4x6/readme.md
new file mode 100644
index 000000000..67c6175ee
--- /dev/null
+++ b/layouts/default/ortho_4x6/readme.md
@@ -0,0 +1,3 @@
1# ortho_4x6
2
3 LAYOUT_ortho_4x6