diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-01-11 07:01:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 15:01:44 -0800 |
commit | cfabc3b028f5c4dcb03cadfd99d98beca0f59b14 (patch) | |
tree | 6607c2fa1ff74a0c8abb277c5ca5041feadf86ef | |
parent | 8f630c17b9a6bc6286cbe4435c66033720182803 (diff) | |
download | qmk_firmware-cfabc3b028f5c4dcb03cadfd99d98beca0f59b14.tar.gz qmk_firmware-cfabc3b028f5c4dcb03cadfd99d98beca0f59b14.zip |
Add layout for split 3x5_2 (#15800)
-rw-r--r-- | layouts/default/split_3x5_2/default_split_3x5_2/keymap.c | 23 | ||||
-rw-r--r-- | layouts/default/split_3x5_2/info.json | 52 | ||||
-rw-r--r-- | layouts/default/split_3x5_2/layout.json | 11 | ||||
-rw-r--r-- | layouts/default/split_3x5_2/readme.md | 5 |
4 files changed, 91 insertions, 0 deletions
diff --git a/layouts/default/split_3x5_2/default_split_3x5_2/keymap.c b/layouts/default/split_3x5_2/default_split_3x5_2/keymap.c new file mode 100644 index 000000000..68ffd797a --- /dev/null +++ b/layouts/default/split_3x5_2/default_split_3x5_2/keymap.c | |||
@@ -0,0 +1,23 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | |||
3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
4 | /* | ||
5 | * ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ | ||
6 | * │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ | ||
7 | * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ | ||
8 | * │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ | ||
9 | * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ | ||
10 | * │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │ | ||
11 | * └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ | ||
12 | * ┌───┐ ┌───┐ | ||
13 | * │Bsp├───┐ ┌───┤Ent│ | ||
14 | * └───┤Tab│ │Spc├───┘ | ||
15 | * └───┘ └───┘ | ||
16 | */ | ||
17 | [0] = LAYOUT_split_3x5_2( | ||
18 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
19 | KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
20 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
21 | KC_BSPC, KC_TAB, KC_SPC, KC_ENT | ||
22 | ) | ||
23 | }; | ||
diff --git a/layouts/default/split_3x5_2/info.json b/layouts/default/split_3x5_2/info.json new file mode 100644 index 000000000..e25309354 --- /dev/null +++ b/layouts/default/split_3x5_2/info.json | |||
@@ -0,0 +1,52 @@ | |||
1 | { | ||
2 | "keyboard_name": "3x5+2 split layout", | ||
3 | "url": "", | ||
4 | "maintainer": "qmk", | ||
5 | "layouts": { | ||
6 | "LAYOUT_split_3x5_2": { | ||
7 | "layout": [ | ||
8 | {"x":0, "y":0.25}, | ||
9 | {"x":1, "y":0.125}, | ||
10 | {"x":2, "y":0}, | ||
11 | {"x":3, "y":0.125}, | ||
12 | {"x":4, "y":0.25}, | ||
13 | |||
14 | {"x":7, "y":0.25}, | ||
15 | {"x":8, "y":0.125}, | ||
16 | {"x":9, "y":0}, | ||
17 | {"x":10, "y":0.125}, | ||
18 | {"x":11, "y":0.25}, | ||
19 | |||
20 | {"x":0, "y":1.25}, | ||
21 | {"x":1, "y":1.125}, | ||
22 | {"x":2, "y":1}, | ||
23 | {"x":3, "y":1.125}, | ||
24 | {"x":4, "y":1.25}, | ||
25 | |||
26 | {"x":7, "y":1.25}, | ||
27 | {"x":8, "y":1.125}, | ||
28 | {"x":9, "y":1}, | ||
29 | {"x":10, "y":1.125}, | ||
30 | {"x":11, "y":1.25}, | ||
31 | |||
32 | {"x":0, "y":2.25}, | ||
33 | {"x":1, "y":2.125}, | ||
34 | {"x":2, "y":2}, | ||
35 | {"x":3, "y":2.125}, | ||
36 | {"x":4, "y":2.25}, | ||
37 | |||
38 | {"x":7, "y":2.25}, | ||
39 | {"x":8, "y":2.125}, | ||
40 | {"x":9, "y":2}, | ||
41 | {"x":10, "y":2.125}, | ||
42 | {"x":11, "y":2.25}, | ||
43 | |||
44 | {"x":3.5, "y":3.25}, | ||
45 | {"x":4.5, "y":3.5}, | ||
46 | |||
47 | {"x":6.5, "y":3.5}, | ||
48 | {"x":7.5, "y":3.25} | ||
49 | ] | ||
50 | } | ||
51 | } | ||
52 | } | ||
diff --git a/layouts/default/split_3x5_2/layout.json b/layouts/default/split_3x5_2/layout.json new file mode 100644 index 000000000..1b1c3d000 --- /dev/null +++ b/layouts/default/split_3x5_2/layout.json | |||
@@ -0,0 +1,11 @@ | |||
1 | [{x:2,a:7},"",{x:6},""], | ||
2 | [{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""], | ||
3 | [{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""], | ||
4 | [{y:-0.25,x:2},"",{x:6},""], | ||
5 | [{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""], | ||
6 | [{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""], | ||
7 | [{y:-0.25,x:2},"",{x:6},""], | ||
8 | [{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""], | ||
9 | [{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""], | ||
10 | [{y:-0.75,x:3.5},"",{x:3},""], | ||
11 | [{y:-0.75,x:4.5},"",{x:1},""] | ||
diff --git a/layouts/default/split_3x5_2/readme.md b/layouts/default/split_3x5_2/readme.md new file mode 100644 index 000000000..5ec829e47 --- /dev/null +++ b/layouts/default/split_3x5_2/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # split_3x5_2 | ||
2 | |||
3 | LAYOUT_split_3x5_2 | ||
4 | |||
5 | Layout for split keyboards with 3x5 keys and two thumb keys per hand. Examples include the Architeuthis Dux, Ferris, and Cradio. | ||