Skip to content

Commit

Permalink
Add layouts for split 3x5 and 3x6 keyboards (qmk#9562)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <[email protected]>
  • Loading branch information
Danilo de Klerk and fauxpark authored Jun 30, 2020
1 parent 24f59c2 commit 91efcfb
Show file tree
Hide file tree
Showing 8 changed files with 200 additions and 0 deletions.
24 changes: 24 additions & 0 deletions layouts/default/split_3x5_3/default_split_3x5_3/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┬───┐       ┌───┬───┬───┬───┬───┐
* │ Q │ W │ E │ R │ T │       │ Y │ U │ I │ O │ P │
* ├───┼───┼───┼───┼───┤       ├───┼───┼───┼───┼───┤
* │ A │ S │ D │ F │ G │       │ H │ J │ K │ L │ ; │
* ├───┼───┼───┼───┼───┤       ├───┼───┼───┼───┼───┤
* │ Z │ X │ C │ V │ B │       │ N │ M │ , │ . │ / │
* └───┴───┴───┴───┴───┘       └───┴───┴───┴───┴───┘
*           ┌───┐                   ┌───┐
*           │GUI├───┐           ┌───┤Alt│
*           └───┤Bsp├───┐   ┌───┤Ent├───┘
*               └───┤   │   │   ├───┘
*                   └───┘   └───┘
*/
[0] = LAYOUT_split_3x5_3(
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT
)
};
56 changes: 56 additions & 0 deletions layouts/default/split_3x5_3/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"keyboard_name": "3x5+3 split layout",
"url": "",
"maintainer": "qmk",
"width": 12,
"height": 4.75,
"layouts": {
"LAYOUT_split_3x5_3": {
"layout": [
{"x":0, "y":0.25},
{"x":1, "y":0.125},
{"x":2, "y":0},
{"x":3, "y":0.125},
{"x":4, "y":0.25},

{"x":7, "y":0.25},
{"x":8, "y":0.125},
{"x":9, "y":0},
{"x":10, "y":0.125},
{"x":11, "y":0.25},

{"x":0, "y":1.25},
{"x":1, "y":1.125},
{"x":2, "y":1},
{"x":3, "y":1.125},
{"x":4, "y":1.25},

{"x":7, "y":1.25},
{"x":8, "y":1.125},
{"x":9, "y":1},
{"x":10, "y":1.125},
{"x":11, "y":1.25},

{"x":0, "y":2.25},
{"x":1, "y":2.125},
{"x":2, "y":2},
{"x":3, "y":2.125},
{"x":4, "y":2.25},

{"x":7, "y":2.25},
{"x":8, "y":2.125},
{"x":9, "y":2},
{"x":10, "y":2.125},
{"x":11, "y":2.25},

{"x":2.5, "y":3.25},
{"x":3.5, "y":3.5},
{"x":4.5, "y":3.75},

{"x":6.5, "y":3.75},
{"x":7.5, "y":3.5},
{"x":8.5, "y":3.25}
]
}
}
}
12 changes: 12 additions & 0 deletions layouts/default/split_3x5_3/layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[{x:2,a:7},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{y:-0.25,x:2},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{y:-0.25,x:2},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{x:2.5},"",{x:5},""],
[{y:-0.75,x:3.5},"",{x:3},""],
[{y:-0.75,x:4.5},"",{x:1},""]
5 changes: 5 additions & 0 deletions layouts/default/split_3x5_3/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# split_3x5_3

LAYOUT_split_3x5_3

Layout for split keyboards with 3x5 keys and three thumb keys per hand. Examples include the Minidox, Centromere Mini, and Gergoplex.
24 changes: 24 additions & 0 deletions layouts/default/split_3x6_3/default_split_3x6_3/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┬───┬───┐       ┌───┬───┬───┬───┬───┬───┐
* │Tab│ Q │ W │ E │ R │ T │       │ Y │ U │ I │ O │ P │Bsp│
* ├───┼───┼───┼───┼───┼───┤       ├───┼───┼───┼───┼───┼───┤
* │Ctl│ A │ S │ D │ F │ G │       │ H │ J │ K │ L │ ; │ ' │
* ├───┼───┼───┼───┼───┼───┤       ├───┼───┼───┼───┼───┼───┤
* │Sft│ Z │ X │ C │ V │ B │       │ N │ M │ , │ . │ / │Sft│
* └───┴───┴───┴───┴───┴───┘       └───┴───┴───┴───┴───┴───┘
*               ┌───┐                   ┌───┐
*               │GUI├───┐           ┌───┤Alt│
*               └───┤Bsp├───┐   ┌───┤Ent├───┘
*                   └───┤   │   │   ├───┘
*                       └───┘   └───┘
*/
[0] = LAYOUT_split_3x6_3(
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LGUI, KC_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT
)
};
62 changes: 62 additions & 0 deletions layouts/default/split_3x6_3/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"keyboard_name": "3x6+3 split layout",
"url": "",
"maintainer": "qmk",
"width": 14,
"height": 4.75,
"layouts": {
"LAYOUT_split_3x6_3": {
"layout": [
{"x":0, "y":0.25},
{"x":1, "y":0.25},
{"x":2, "y":0.125},
{"x":3, "y":0},
{"x":4, "y":0.125},
{"x":5, "y":0.25},

{"x":8, "y":0.25},
{"x":9, "y":0.125},
{"x":10, "y":0},
{"x":11, "y":0.125},
{"x":12, "y":0.25},
{"x":13, "y":0.25},

{"x":0, "y":1.25},
{"x":1, "y":1.25},
{"x":2, "y":1.125},
{"x":3, "y":1},
{"x":4, "y":1.125},
{"x":5, "y":1.25},

{"x":8, "y":1.25},
{"x":9, "y":1.125},
{"x":10, "y":1},
{"x":11, "y":1.125},
{"x":12, "y":1.25},
{"x":13, "y":1.25},

{"x":0, "y":2.25},
{"x":1, "y":2.25},
{"x":2, "y":2.125},
{"x":3, "y":2},
{"x":4, "y":2.125},
{"x":5, "y":2.25},

{"x":8, "y":2.25},
{"x":9, "y":2.125},
{"x":10, "y":2},
{"x":11, "y":2.125},
{"x":12, "y":2.25},
{"x":13, "y":2.25},

{"x":3.5, "y":3.25},
{"x":4.5, "y":3.5},
{"x":5.5, "y":3.75},

{"x":7.5, "y":3.75},
{"x":8.5, "y":3.5},
{"x":9.5, "y":3.25}
]
}
}
}
12 changes: 12 additions & 0 deletions layouts/default/split_3x6_3/layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[{x:3,a:7},"",{x:6},""],
[{y:-0.875,x:2},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"","",{x:3},"",{x:2},"",{x:3},"",""],
[{y:-0.25,x:3},"",{x:6},""],
[{y:-0.875,x:2},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"","",{x:3},"",{x:2},"",{x:3},"",""],
[{y:-0.25,x:3},"",{x:6},""],
[{y:-0.875,x:2},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"","",{x:3},"",{x:2},"",{x:3},"",""],
[{x:3.5},"",{x:5},""],
[{y:-0.75,x:4.5},"",{x:3},""],
[{y:-0.75,x:5.5},"",{x:1},""]
5 changes: 5 additions & 0 deletions layouts/default/split_3x6_3/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# split_3x6_3

LAYOUT_split_3x6_3

Layout for split keyboards with 3x6 keys and three thumb keys per hand. Examples include the Crkbd and Centromere.

0 comments on commit 91efcfb

Please sign in to comment.