Skip to content

Commit

Permalink
Krado Industries Promenade Layout Additions (qmk#22014)
Browse files Browse the repository at this point in the history
* Add layout/matrix diagram

[docs]

* Rename `LAYOUT` to `LAYOUT_all`

[refactor]

* Correct key order

[bugfix]

* Add `LAYOUT_2x2u`

[enhancement]

* Add `LAYOUT_2x3u`

[enhancement]

* Add `LAYOUT_6u_space`

[enhancement]

* Add `LAYOUT_7u_space`

[enhancement]

* Touch-up `via` keymap

Update keycode grid alignment to match the `default` keymap.

[style]
  • Loading branch information
noroadsleft authored and csolje committed Oct 21, 2023
1 parent c350a89 commit 14524c8
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 8 deletions.
298 changes: 295 additions & 3 deletions keyboards/kradoindustries/promenade/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@
},


"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},
"layouts": {
"LAYOUT": {
"LAYOUT_all": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0, "w":1.5},
{"matrix": [0, 1], "x":1.5, "y":0},
Expand All @@ -63,6 +66,7 @@
{"matrix": [0, 11], "x":11.5, "y":0},
{"matrix": [0, 12], "x":12.5, "y":0},
{"matrix": [0, 13], "x":13.5, "y":0, "w":1.5},

{"matrix": [1, 0], "x":0, "y":1, "w":1.5},
{"matrix": [1, 1], "x":1.5, "y":1},
{"matrix": [1, 2], "x":2.5, "y":1},
Expand All @@ -77,6 +81,7 @@
{"matrix": [1, 11], "x":11.5, "y":1},
{"matrix": [1, 12], "x":12.5, "y":1},
{"matrix": [1, 13], "x":13.5, "y":1, "w":1.5},

{"matrix": [2, 0], "x":0, "y":2, "w":1.5},
{"matrix": [2, 1], "x":1.5, "y":2},
{"matrix": [2, 2], "x":2.5, "y":2},
Expand All @@ -89,20 +94,22 @@
{"matrix": [2, 11], "x":11.5, "y":2},
{"matrix": [2, 12], "x":12.5, "y":2},
{"matrix": [2, 13], "x":13.5, "y":2, "w":1.5},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},

{"matrix": [3, 0], "x":0, "y":3, "w":1.5},
{"matrix": [3, 1], "x":1.5, "y":3},
{"matrix": [3, 2], "x":2.5, "y":3},
{"matrix": [3, 3], "x":3.5, "y":3},
{"matrix": [3, 4], "x":4.5, "y":3},
{"matrix": [3, 5], "x":5.5, "y":3},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
{"matrix": [3, 8], "x":8.5, "y":3},
{"matrix": [3, 9], "x":9.5, "y":3},
{"matrix": [3, 10], "x":10.5, "y":3},
{"matrix": [3, 11], "x":11.5, "y":3},
{"matrix": [3, 12], "x":12.5, "y":3},
{"matrix": [3, 13], "x":13.5, "y":3, "w":1.5},

{"matrix": [4, 0], "x":0, "y":4, "w":1.5},
{"matrix": [4, 1], "x":1.5, "y":4},
{"matrix": [4, 2], "x":2.5, "y":4},
Expand All @@ -116,7 +123,292 @@
{"matrix": [4, 11], "x":11.5, "y":4},
{"matrix": [4, 12], "x":12.5, "y":4},
{"matrix": [4, 13], "x":13.5, "y":4, "w":1.5}
]
},
"LAYOUT_2x2u": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0, "w":1.5},
{"matrix": [0, 1], "x":1.5, "y":0},
{"matrix": [0, 2], "x":2.5, "y":0},
{"matrix": [0, 3], "x":3.5, "y":0},
{"matrix": [0, 4], "x":4.5, "y":0},
{"matrix": [0, 5], "x":5.5, "y":0},
{"matrix": [0, 6], "x":6.5, "y":0},
{"matrix": [0, 7], "x":7.5, "y":0},
{"matrix": [0, 8], "x":8.5, "y":0},
{"matrix": [0, 9], "x":9.5, "y":0},
{"matrix": [0, 10], "x":10.5, "y":0},
{"matrix": [0, 11], "x":11.5, "y":0},
{"matrix": [0, 12], "x":12.5, "y":0},
{"matrix": [0, 13], "x":13.5, "y":0, "w":1.5},

{"matrix": [1, 0], "x":0, "y":1, "w":1.5},
{"matrix": [1, 1], "x":1.5, "y":1},
{"matrix": [1, 2], "x":2.5, "y":1},
{"matrix": [1, 3], "x":3.5, "y":1},
{"matrix": [1, 4], "x":4.5, "y":1},
{"matrix": [1, 5], "x":5.5, "y":1},
{"matrix": [1, 6], "x":6.5, "y":1, "h":1.5},
{"matrix": [1, 7], "x":7.5, "y":1, "h":1.5},
{"matrix": [1, 8], "x":8.5, "y":1},
{"matrix": [1, 9], "x":9.5, "y":1},
{"matrix": [1, 10], "x":10.5, "y":1},
{"matrix": [1, 11], "x":11.5, "y":1},
{"matrix": [1, 12], "x":12.5, "y":1},
{"matrix": [1, 13], "x":13.5, "y":1, "w":1.5},

{"matrix": [2, 0], "x":0, "y":2, "w":1.5},
{"matrix": [2, 1], "x":1.5, "y":2},
{"matrix": [2, 2], "x":2.5, "y":2},
{"matrix": [2, 3], "x":3.5, "y":2},
{"matrix": [2, 4], "x":4.5, "y":2},
{"matrix": [2, 5], "x":5.5, "y":2},
{"matrix": [2, 8], "x":8.5, "y":2},
{"matrix": [2, 9], "x":9.5, "y":2},
{"matrix": [2, 10], "x":10.5, "y":2},
{"matrix": [2, 11], "x":11.5, "y":2},
{"matrix": [2, 12], "x":12.5, "y":2},
{"matrix": [2, 13], "x":13.5, "y":2, "w":1.5},

{"matrix": [3, 0], "x":0, "y":3, "w":1.5},
{"matrix": [3, 1], "x":1.5, "y":3},
{"matrix": [3, 2], "x":2.5, "y":3},
{"matrix": [3, 3], "x":3.5, "y":3},
{"matrix": [3, 4], "x":4.5, "y":3},
{"matrix": [3, 5], "x":5.5, "y":3},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
{"matrix": [3, 8], "x":8.5, "y":3},
{"matrix": [3, 9], "x":9.5, "y":3},
{"matrix": [3, 10], "x":10.5, "y":3},
{"matrix": [3, 11], "x":11.5, "y":3},
{"matrix": [3, 12], "x":12.5, "y":3},
{"matrix": [3, 13], "x":13.5, "y":3, "w":1.5},

{"matrix": [4, 0], "x":0, "y":4, "w":1.5},
{"matrix": [4, 1], "x":1.5, "y":4},
{"matrix": [4, 2], "x":2.5, "y":4},
{"matrix": [4, 3], "x":3.5, "y":4},
{"matrix": [4, 4], "x":4.5, "y":4},
{"matrix": [4, 5], "x":5.5, "y":4, "w":2},
{"matrix": [4, 8], "x":7.5, "y":4, "w":2},
{"matrix": [4, 9], "x":9.5, "y":4},
{"matrix": [4, 10], "x":10.5, "y":4},
{"matrix": [4, 11], "x":11.5, "y":4},
{"matrix": [4, 12], "x":12.5, "y":4},
{"matrix": [4, 13], "x":13.5, "y":4, "w":1.5}
]
},
"LAYOUT_2x3u": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0, "w":1.5},
{"matrix": [0, 1], "x":1.5, "y":0},
{"matrix": [0, 2], "x":2.5, "y":0},
{"matrix": [0, 3], "x":3.5, "y":0},
{"matrix": [0, 4], "x":4.5, "y":0},
{"matrix": [0, 5], "x":5.5, "y":0},
{"matrix": [0, 6], "x":6.5, "y":0},
{"matrix": [0, 7], "x":7.5, "y":0},
{"matrix": [0, 8], "x":8.5, "y":0},
{"matrix": [0, 9], "x":9.5, "y":0},
{"matrix": [0, 10], "x":10.5, "y":0},
{"matrix": [0, 11], "x":11.5, "y":0},
{"matrix": [0, 12], "x":12.5, "y":0},
{"matrix": [0, 13], "x":13.5, "y":0, "w":1.5},

{"matrix": [1, 0], "x":0, "y":1, "w":1.5},
{"matrix": [1, 1], "x":1.5, "y":1},
{"matrix": [1, 2], "x":2.5, "y":1},
{"matrix": [1, 3], "x":3.5, "y":1},
{"matrix": [1, 4], "x":4.5, "y":1},
{"matrix": [1, 5], "x":5.5, "y":1},
{"matrix": [1, 6], "x":6.5, "y":1, "h":1.5},
{"matrix": [1, 7], "x":7.5, "y":1, "h":1.5},
{"matrix": [1, 8], "x":8.5, "y":1},
{"matrix": [1, 9], "x":9.5, "y":1},
{"matrix": [1, 10], "x":10.5, "y":1},
{"matrix": [1, 11], "x":11.5, "y":1},
{"matrix": [1, 12], "x":12.5, "y":1},
{"matrix": [1, 13], "x":13.5, "y":1, "w":1.5},

{"matrix": [2, 0], "x":0, "y":2, "w":1.5},
{"matrix": [2, 1], "x":1.5, "y":2},
{"matrix": [2, 2], "x":2.5, "y":2},
{"matrix": [2, 3], "x":3.5, "y":2},
{"matrix": [2, 4], "x":4.5, "y":2},
{"matrix": [2, 5], "x":5.5, "y":2},
{"matrix": [2, 8], "x":8.5, "y":2},
{"matrix": [2, 9], "x":9.5, "y":2},
{"matrix": [2, 10], "x":10.5, "y":2},
{"matrix": [2, 11], "x":11.5, "y":2},
{"matrix": [2, 12], "x":12.5, "y":2},
{"matrix": [2, 13], "x":13.5, "y":2, "w":1.5},

{"matrix": [3, 0], "x":0, "y":3, "w":1.5},
{"matrix": [3, 1], "x":1.5, "y":3},
{"matrix": [3, 2], "x":2.5, "y":3},
{"matrix": [3, 3], "x":3.5, "y":3},
{"matrix": [3, 4], "x":4.5, "y":3},
{"matrix": [3, 5], "x":5.5, "y":3},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
{"matrix": [3, 8], "x":8.5, "y":3},
{"matrix": [3, 9], "x":9.5, "y":3},
{"matrix": [3, 10], "x":10.5, "y":3},
{"matrix": [3, 11], "x":11.5, "y":3},
{"matrix": [3, 12], "x":12.5, "y":3},
{"matrix": [3, 13], "x":13.5, "y":3, "w":1.5},

{"matrix": [4, 0], "x":0, "y":4, "w":1.5},
{"matrix": [4, 1], "x":1.5, "y":4},
{"matrix": [4, 2], "x":2.5, "y":4},
{"matrix": [4, 3], "x":3.5, "y":4},
{"matrix": [4, 5], "x":4.5, "y":4, "w":3},
{"matrix": [4, 8], "x":7.5, "y":4, "w":3},
{"matrix": [4, 10], "x":10.5, "y":4},
{"matrix": [4, 11], "x":11.5, "y":4},
{"matrix": [4, 12], "x":12.5, "y":4},
{"matrix": [4, 13], "x":13.5, "y":4, "w":1.5}
]
},
"LAYOUT_6u_space": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0, "w":1.5},
{"matrix": [0, 1], "x":1.5, "y":0},
{"matrix": [0, 2], "x":2.5, "y":0},
{"matrix": [0, 3], "x":3.5, "y":0},
{"matrix": [0, 4], "x":4.5, "y":0},
{"matrix": [0, 5], "x":5.5, "y":0},
{"matrix": [0, 6], "x":6.5, "y":0},
{"matrix": [0, 7], "x":7.5, "y":0},
{"matrix": [0, 8], "x":8.5, "y":0},
{"matrix": [0, 9], "x":9.5, "y":0},
{"matrix": [0, 10], "x":10.5, "y":0},
{"matrix": [0, 11], "x":11.5, "y":0},
{"matrix": [0, 12], "x":12.5, "y":0},
{"matrix": [0, 13], "x":13.5, "y":0, "w":1.5},

{"matrix": [1, 0], "x":0, "y":1, "w":1.5},
{"matrix": [1, 1], "x":1.5, "y":1},
{"matrix": [1, 2], "x":2.5, "y":1},
{"matrix": [1, 3], "x":3.5, "y":1},
{"matrix": [1, 4], "x":4.5, "y":1},
{"matrix": [1, 5], "x":5.5, "y":1},
{"matrix": [1, 6], "x":6.5, "y":1, "h":1.5},
{"matrix": [1, 7], "x":7.5, "y":1, "h":1.5},
{"matrix": [1, 8], "x":8.5, "y":1},
{"matrix": [1, 9], "x":9.5, "y":1},
{"matrix": [1, 10], "x":10.5, "y":1},
{"matrix": [1, 11], "x":11.5, "y":1},
{"matrix": [1, 12], "x":12.5, "y":1},
{"matrix": [1, 13], "x":13.5, "y":1, "w":1.5},

{"matrix": [2, 0], "x":0, "y":2, "w":1.5},
{"matrix": [2, 1], "x":1.5, "y":2},
{"matrix": [2, 2], "x":2.5, "y":2},
{"matrix": [2, 3], "x":3.5, "y":2},
{"matrix": [2, 4], "x":4.5, "y":2},
{"matrix": [2, 5], "x":5.5, "y":2},
{"matrix": [2, 8], "x":8.5, "y":2},
{"matrix": [2, 9], "x":9.5, "y":2},
{"matrix": [2, 10], "x":10.5, "y":2},
{"matrix": [2, 11], "x":11.5, "y":2},
{"matrix": [2, 12], "x":12.5, "y":2},
{"matrix": [2, 13], "x":13.5, "y":2, "w":1.5},

{"matrix": [3, 0], "x":0, "y":3, "w":1.5},
{"matrix": [3, 1], "x":1.5, "y":3},
{"matrix": [3, 2], "x":2.5, "y":3},
{"matrix": [3, 3], "x":3.5, "y":3},
{"matrix": [3, 4], "x":4.5, "y":3},
{"matrix": [3, 5], "x":5.5, "y":3},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
{"matrix": [3, 8], "x":8.5, "y":3},
{"matrix": [3, 9], "x":9.5, "y":3},
{"matrix": [3, 10], "x":10.5, "y":3},
{"matrix": [3, 11], "x":11.5, "y":3},
{"matrix": [3, 12], "x":12.5, "y":3},
{"matrix": [3, 13], "x":13.5, "y":3, "w":1.5},

{"matrix": [4, 0], "x":0, "y":4, "w":1.5},
{"matrix": [4, 1], "x":1.5, "y":4},
{"matrix": [4, 2], "x":2.5, "y":4},
{"matrix": [4, 3], "x":3.5, "y":4},
{"matrix": [4, 6], "x":4.5, "y":4, "w":6},
{"matrix": [4, 10], "x":10.5, "y":4},
{"matrix": [4, 11], "x":11.5, "y":4},
{"matrix": [4, 12], "x":12.5, "y":4},
{"matrix": [4, 13], "x":13.5, "y":4, "w":1.5}
]
},
"LAYOUT_7u_space": {
"layout": [
{"matrix": [0, 0], "x":0, "y":0, "w":1.5},
{"matrix": [0, 1], "x":1.5, "y":0},
{"matrix": [0, 2], "x":2.5, "y":0},
{"matrix": [0, 3], "x":3.5, "y":0},
{"matrix": [0, 4], "x":4.5, "y":0},
{"matrix": [0, 5], "x":5.5, "y":0},
{"matrix": [0, 6], "x":6.5, "y":0},
{"matrix": [0, 7], "x":7.5, "y":0},
{"matrix": [0, 8], "x":8.5, "y":0},
{"matrix": [0, 9], "x":9.5, "y":0},
{"matrix": [0, 10], "x":10.5, "y":0},
{"matrix": [0, 11], "x":11.5, "y":0},
{"matrix": [0, 12], "x":12.5, "y":0},
{"matrix": [0, 13], "x":13.5, "y":0, "w":1.5},

{"matrix": [1, 0], "x":0, "y":1, "w":1.5},
{"matrix": [1, 1], "x":1.5, "y":1},
{"matrix": [1, 2], "x":2.5, "y":1},
{"matrix": [1, 3], "x":3.5, "y":1},
{"matrix": [1, 4], "x":4.5, "y":1},
{"matrix": [1, 5], "x":5.5, "y":1},
{"matrix": [1, 6], "x":6.5, "y":1, "h":1.5},
{"matrix": [1, 7], "x":7.5, "y":1, "h":1.5},
{"matrix": [1, 8], "x":8.5, "y":1},
{"matrix": [1, 9], "x":9.5, "y":1},
{"matrix": [1, 10], "x":10.5, "y":1},
{"matrix": [1, 11], "x":11.5, "y":1},
{"matrix": [1, 12], "x":12.5, "y":1},
{"matrix": [1, 13], "x":13.5, "y":1, "w":1.5},

{"matrix": [2, 0], "x":0, "y":2, "w":1.5},
{"matrix": [2, 1], "x":1.5, "y":2},
{"matrix": [2, 2], "x":2.5, "y":2},
{"matrix": [2, 3], "x":3.5, "y":2},
{"matrix": [2, 4], "x":4.5, "y":2},
{"matrix": [2, 5], "x":5.5, "y":2},
{"matrix": [2, 8], "x":8.5, "y":2},
{"matrix": [2, 9], "x":9.5, "y":2},
{"matrix": [2, 10], "x":10.5, "y":2},
{"matrix": [2, 11], "x":11.5, "y":2},
{"matrix": [2, 12], "x":12.5, "y":2},
{"matrix": [2, 13], "x":13.5, "y":2, "w":1.5},

{"matrix": [3, 0], "x":0, "y":3, "w":1.5},
{"matrix": [3, 1], "x":1.5, "y":3},
{"matrix": [3, 2], "x":2.5, "y":3},
{"matrix": [3, 3], "x":3.5, "y":3},
{"matrix": [3, 4], "x":4.5, "y":3},
{"matrix": [3, 5], "x":5.5, "y":3},
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
{"matrix": [3, 8], "x":8.5, "y":3},
{"matrix": [3, 9], "x":9.5, "y":3},
{"matrix": [3, 10], "x":10.5, "y":3},
{"matrix": [3, 11], "x":11.5, "y":3},
{"matrix": [3, 12], "x":12.5, "y":3},
{"matrix": [3, 13], "x":13.5, "y":3, "w":1.5},

{"matrix": [4, 0], "x":0, "y":4, "w":1.5},
{"matrix": [4, 1], "x":1.5, "y":4},
{"matrix": [4, 2], "x":2.5, "y":4, "w":1.5},
{"matrix": [4, 6], "x":4, "y":4, "w":7},
{"matrix": [4, 11], "x":11, "y":4, "w":1.5},
{"matrix": [4, 12], "x":12.5, "y":4},
{"matrix": [4, 13], "x":13.5, "y":4, "w":1.5}
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions keyboards/kradoindustries/promenade/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | LCTRL | LGUI | FN | LALT | SPACE | SPACE | SPACE | SPACE | SPACE | LEFT | DOWN | UP | RIGHT | RCTRL |
* '-----------------------------------------------------------------------------------------------------------------------------'
*/
[_BASE] = LAYOUT(
[_BASE] = LAYOUT_all(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
Expand All @@ -56,7 +56,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | | | | | | | | | Reset |
* '-----------------------------------------------------------------------------------------------------------------------------'
*/
[_FN] = LAYOUT(
[_FN] = LAYOUT_all(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL,
_______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______,
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, _______, QK_BOOT,
Expand Down
Loading

0 comments on commit 14524c8

Please sign in to comment.