diff options
author | George Mao <splatt9198@gmail.com> | 2020-10-15 11:23:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-15 19:23:35 +0100 |
commit | c0b3034721f9502d6b3da82f62399b618f1523fe (patch) | |
tree | 6dfdcd7e33c930d26a2cf9d7f14145f9fbdc9c45 /layouts | |
parent | f90688e55060c3b4ebe797c42c483fd2d0412321 (diff) | |
download | qmk_firmware-c0b3034721f9502d6b3da82f62399b618f1523fe.tar.gz qmk_firmware-c0b3034721f9502d6b3da82f62399b618f1523fe.zip |
Add alice community layout (#10518)
* Added LAYOUT_alice
* Added fauxpark's suggestions as well as updating keymap graphic
* Added file header and used noroadleft's fix to the info.json for fast input mode
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default/alice/default_alice/keymap.c | 39 | ||||
-rw-r--r-- | layouts/default/alice/info.json | 82 | ||||
-rw-r--r-- | layouts/default/alice/layout.json | 21 | ||||
-rw-r--r-- | layouts/default/alice/readme.md | 3 | ||||
-rw-r--r-- | layouts/default/readme.md | 15 |
5 files changed, 160 insertions, 0 deletions
diff --git a/layouts/default/alice/default_alice/keymap.c b/layouts/default/alice/default_alice/keymap.c new file mode 100644 index 000000000..67651b2c5 --- /dev/null +++ b/layouts/default/alice/default_alice/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2020 MudkipMao | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | /* | ||
20 | * ┌───┐ ┌───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───────┐ | ||
21 | * │Esc│ │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│ | ||
22 | * ┌┴──┬┘ ┌┴───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┘ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┴┐ | ||
23 | * │PUp│ │ Tab │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ [ │ ] │ \ │ | ||
24 | * ┌┴──┬┘ ┌┴─────┼───┼───┼───┼───┼───┤ └┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┴┐ | ||
25 | * │PDn│ │ Caps │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ ' │ Enter │ | ||
26 | * └───┘ ┌┴──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───────┬──┴┐ | ||
27 | * │ Shift │ Z │ X │ C │ V │ B │ │ B │ N │ M │ , │ . │ / │ Shift │Shf│ | ||
28 | * ├─────┬──┴──┬┴───┴┬──┴───┴┬──┴──┐ ├───┴───┴──┬┴───┴┬──┴───┴──────┬──┴──┬┘ | ||
29 | * │ Ctl │ │ Alt │ │ GUI │ │ │ Alt │ │ Ctl │ | ||
30 | * └─────┘ └─────┴───────┴─────┘ └──────────┴─────┘ └─────┘ | ||
31 | */ | ||
32 | [0] = LAYOUT_alice( | ||
33 | KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
34 | KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
35 | KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
36 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, | ||
37 | KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL | ||
38 | ) | ||
39 | }; | ||
diff --git a/layouts/default/alice/info.json b/layouts/default/alice/info.json new file mode 100644 index 000000000..3521a4b7c --- /dev/null +++ b/layouts/default/alice/info.json | |||
@@ -0,0 +1,82 @@ | |||
1 | { | ||
2 | "keyboard_name": "Alice layout", | ||
3 | "url": "", | ||
4 | "maintainer": "qmk", | ||
5 | "width": 18.35, | ||
6 | "height": 5.1, | ||
7 | "layouts": { | ||
8 | "LAYOUT_alice": { | ||
9 | "layout": [ | ||
10 | {"x":0.4, "y":0}, | ||
11 | {"x":1.55, "y":0.1}, | ||
12 | {"x":2.55, "y":0.1}, | ||
13 | {"x":3.55, "y":0}, | ||
14 | {"x":4.55, "y":0.1}, | ||
15 | {"x":5.55, "y":0.1}, | ||
16 | {"x":6.55, "y":0.1}, | ||
17 | {"x":7.55, "y":0.1}, | ||
18 | {"x":9.75, "y":0.1}, | ||
19 | {"x":10.75, "y":0.1}, | ||
20 | {"x":11.75, "y":0.1}, | ||
21 | {"x":12.75, "y":0.1}, | ||
22 | {"x":13.75, "y":0}, | ||
23 | {"x":14.75, "y":0.1}, | ||
24 | {"x":15.75, "y":0.1, "w":2}, | ||
25 | |||
26 | {"x":0.2, "y":1.0}, | ||
27 | {"x":1.35, "y":1.1, "w":1.5}, | ||
28 | {"x":2.85, "y":1.1}, | ||
29 | {"x":3.85, "y":1.1}, | ||
30 | {"x":4.85, "y":1.1}, | ||
31 | {"x":5.85, "y":1.1}, | ||
32 | {"x":6.85, "y":1.1}, | ||
33 | {"x":9.45, "y":1.1}, | ||
34 | {"x":10.45, "y":1.1}, | ||
35 | {"x":11.45, "y":1.1}, | ||
36 | {"x":12.45, "y":1.1}, | ||
37 | {"x":13.45, "y":1.1}, | ||
38 | {"x":14.45, "y":1.1}, | ||
39 | {"x":15.45, "y":1.1}, | ||
40 | {"x":16.45, "y":1.1, "w":1.5}, | ||
41 | |||
42 | {"x":0, "y":2.0}, | ||
43 | {"x":1.15, "y":2.1, "w":1.75}, | ||
44 | {"x":2.9, "y":2.1}, | ||
45 | {"x":3.9, "y":2.1}, | ||
46 | {"x":4.9, "y":2.1}, | ||
47 | {"x":5.9, "y":2.1}, | ||
48 | {"x":6.9, "y":2.1}, | ||
49 | {"x":9.9, "y":2.1}, | ||
50 | {"x":10.9, "y":2.1}, | ||
51 | {"x":11.9, "y":2.1}, | ||
52 | {"x":12.9, "y":2.1}, | ||
53 | {"x":13.9, "y":2.1}, | ||
54 | {"x":14.9, "y":2.1}, | ||
55 | {"x":15.9, "y":2.1, "w":2.25}, | ||
56 | |||
57 | {"x":0.95, "y":3.1, "w":2.25}, | ||
58 | {"x":3.2, "y":3.1}, | ||
59 | {"x":4.2, "y":3.1}, | ||
60 | {"x":5.2, "y":3.1}, | ||
61 | {"x":6.2, "y":3.1}, | ||
62 | {"x":7.2, "y":3.1}, | ||
63 | {"x":9.6, "y":3.1}, | ||
64 | {"x":10.6, "y":3.1}, | ||
65 | {"x":11.6, "y":3.1}, | ||
66 | {"x":12.6, "y":3.1}, | ||
67 | {"x":13.6, "y":3.1}, | ||
68 | {"x":14.6, "y":3.1}, | ||
69 | {"x":15.6, "y":3.1, "w":1.75}, | ||
70 | {"x":17.35, "y":3.1}, | ||
71 | |||
72 | {"x":0.95, "y":4.1, "w":1.5}, | ||
73 | {"x":3.85, "y":4.1, "w":1.5}, | ||
74 | {"x":5.35, "y":4.1, "w":2}, | ||
75 | {"x":7.35, "y":4.1, "w":1.25}, | ||
76 | {"x":9.6, "y":4.1, "w":2.75}, | ||
77 | {"x":12.35, "y":4.1, "w":1.5}, | ||
78 | {"x":16.65, "y":4.1, "w":1.5} | ||
79 | ] | ||
80 | } | ||
81 | } | ||
82 | } | ||
diff --git a/layouts/default/alice/layout.json b/layouts/default/alice/layout.json new file mode 100644 index 000000000..b399ccf0f --- /dev/null +++ b/layouts/default/alice/layout.json | |||
@@ -0,0 +1,21 @@ | |||
1 | [{y:0.9,x:0.55,a:7},"",{x:2.15},"",{x:8.55},""], | ||
2 | [{y:-0.9,x:1.7},"","",{x:10.55},"",{w:2},""], | ||
3 | [{y:-0.1,x:0.35},""], | ||
4 | [{y:-0.95,x:12.95},""], | ||
5 | [{y:-0.95,x:1.5,w:1.5},"","",{x:9.95},"","",{w:1.5},""], | ||
6 | [{y:-0.1,x:0.15},""], | ||
7 | [{y:-0.9,x:1.3,w:1.75},"","",{x:9.35},"",{x:0},"",{w:2.25},""], | ||
8 | [{x:1.1,w:2.25},"","",{x:8.75},"","",{w:1.75},"",""], | ||
9 | [{x:1.1,w:1.5},"",{x:13.55,w:1.5},""], | ||
10 | [{r:12,y:-6,x:5},"","","",""], | ||
11 | [{x:4.5},"","","",""], | ||
12 | [{x:4.8},"","","",""], | ||
13 | [{x:5.3},"","","",""], | ||
14 | [{x:6.45,w:2},"",{w:1.25},""], | ||
15 | [{y:-0.95,x:4.95,w:1.5},""], | ||
16 | [{r:-12,y:-1.45,x:8.55},"","","",""], | ||
17 | [{x:8.05},"","","",""], | ||
18 | [{x:8.2},"","","",""], | ||
19 | [{x:7.75},"","","",""], | ||
20 | [{x:7.75,w:2.75},""], | ||
21 | [{y:-0.95,x:10.5,w:1.5},""] | ||
diff --git a/layouts/default/alice/readme.md b/layouts/default/alice/readme.md new file mode 100644 index 000000000..a52d49716 --- /dev/null +++ b/layouts/default/alice/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # alice | ||
2 | |||
3 | LAYOUT_alice | ||
diff --git a/layouts/default/readme.md b/layouts/default/readme.md index 881b1ec5b..f1e5b56d0 100644 --- a/layouts/default/readme.md +++ b/layouts/default/readme.md | |||
@@ -452,6 +452,21 @@ LAYOUT_fullsize_iso | |||
452 | ### Split Layouts | 452 | ### Split Layouts |
453 | 453 | ||
454 | ``` | 454 | ``` |
455 | LAYOUT_alice | ||
456 | ┌───┐ ┌───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───────┐ | ||
457 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
458 | ┌┴──┬┘ ┌┴───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┘ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┴┐ | ||
459 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
460 | ┌┴──┬┘ ┌┴─────┼───┼───┼───┼───┼───┤ └┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┴┐ | ||
461 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
462 | └───┘ ┌┴──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───────┬──┴┐ | ||
463 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | ||
464 | ├─────┬──┴──┬┴───┴┬──┴───┴┬──┴──┐ ├───┴───┴──┬┴───┴┬──┴───┴──────┬──┴──┬┘ | ||
465 | │ │ │ │ │ │ │ │ │ │ │ | ||
466 | └─────┘ └─────┴───────┴─────┘ └──────────┴─────┘ └─────┘ | ||
467 | ``` | ||
468 | |||
469 | ``` | ||
455 | LAYOUT_ergodox | 470 | LAYOUT_ergodox |
456 | ┌─────┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬─────┐ | 471 | ┌─────┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬─────┐ |
457 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ | 472 | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |