Keebio NyquistPad Layout Updates (#22000)
* Rename `LAYOUT` to `LAYOUT_ortho_5x6` [refactor] * Add `LAYOUT_ortho_5x6_1x2u` [enhancement]
This commit is contained in:
parent
c6841a51de
commit
32f060366f
3 changed files with 51 additions and 11 deletions
|
@ -32,8 +32,11 @@
|
||||||
"pin": "GP28"
|
"pin": "GP28"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_ortho_5x6"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT_ortho_5x6": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
@ -41,24 +44,28 @@
|
||||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
|
|
||||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
{"matrix": [1, 4], "x": 4, "y": 1},
|
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||||
{"matrix": [1, 5], "x": 5, "y": 1},
|
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||||
|
|
||||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||||
{"matrix": [2, 4], "x": 4, "y": 2},
|
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||||
{"matrix": [2, 5], "x": 5, "y": 2},
|
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||||
|
|
||||||
{"matrix": [3, 0], "x": 0, "y": 3},
|
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||||
{"matrix": [3, 3], "x": 3, "y": 3},
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
{"matrix": [3, 4], "x": 4, "y": 3},
|
{"matrix": [3, 4], "x": 4, "y": 3},
|
||||||
{"matrix": [3, 5], "x": 5, "y": 3},
|
{"matrix": [3, 5], "x": 5, "y": 3},
|
||||||
|
|
||||||
{"matrix": [4, 0], "x": 0, "y": 4},
|
{"matrix": [4, 0], "x": 0, "y": 4},
|
||||||
{"matrix": [4, 1], "x": 1, "y": 4},
|
{"matrix": [4, 1], "x": 1, "y": 4},
|
||||||
{"matrix": [4, 2], "x": 2, "y": 4},
|
{"matrix": [4, 2], "x": 2, "y": 4},
|
||||||
|
@ -66,6 +73,43 @@
|
||||||
{"matrix": [4, 4], "x": 4, "y": 4},
|
{"matrix": [4, 4], "x": 4, "y": 4},
|
||||||
{"matrix": [4, 5], "x": 5, "y": 4}
|
{"matrix": [4, 5], "x": 5, "y": 4}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"LAYOUT_ortho_5x6_1x2u": {
|
||||||
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
|
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||||
|
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||||
|
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||||
|
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||||
|
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 5, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4},
|
||||||
|
{"matrix": [4, 1], "x": 1, "y": 4},
|
||||||
|
{"matrix": [4, 2], "x": 2, "y": 4},
|
||||||
|
{"matrix": [4, 3], "x": 3, "y": 4},
|
||||||
|
{"matrix": [4, 4], "x": 4, "y": 4, "w": 2}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rgb_matrix": {
|
"rgb_matrix": {
|
||||||
|
@ -123,7 +167,6 @@
|
||||||
{ "flags": 4, "matrix": [0, 3], "x": 130, "y": 6 },
|
{ "flags": 4, "matrix": [0, 3], "x": 130, "y": 6 },
|
||||||
{ "flags": 4, "matrix": [0, 4], "x": 168, "y": 6 },
|
{ "flags": 4, "matrix": [0, 4], "x": 168, "y": 6 },
|
||||||
{ "flags": 4, "matrix": [0, 5], "x": 204, "y": 6 },
|
{ "flags": 4, "matrix": [0, 5], "x": 204, "y": 6 },
|
||||||
|
|
||||||
{ "flags": 4, "matrix": [1, 5], "x": 204, "y": 19 },
|
{ "flags": 4, "matrix": [1, 5], "x": 204, "y": 19 },
|
||||||
{ "flags": 2, "x": 186, "y": 12 },
|
{ "flags": 2, "x": 186, "y": 12 },
|
||||||
{ "flags": 4, "matrix": [1, 4], "x": 168, "y": 19 },
|
{ "flags": 4, "matrix": [1, 4], "x": 168, "y": 19 },
|
||||||
|
@ -132,14 +175,12 @@
|
||||||
{ "flags": 4, "matrix": [1, 1], "x": 56, "y": 19 },
|
{ "flags": 4, "matrix": [1, 1], "x": 56, "y": 19 },
|
||||||
{ "flags": 2, "x": 36, "y": 12 },
|
{ "flags": 2, "x": 36, "y": 12 },
|
||||||
{ "flags": 4, "matrix": [1, 0], "x": 18, "y": 19 },
|
{ "flags": 4, "matrix": [1, 0], "x": 18, "y": 19 },
|
||||||
|
|
||||||
{ "flags": 4, "matrix": [2, 0], "x": 18, "y": 32 },
|
{ "flags": 4, "matrix": [2, 0], "x": 18, "y": 32 },
|
||||||
{ "flags": 4, "matrix": [2, 1], "x": 56, "y": 32 },
|
{ "flags": 4, "matrix": [2, 1], "x": 56, "y": 32 },
|
||||||
{ "flags": 4, "matrix": [2, 2], "x": 92, "y": 32 },
|
{ "flags": 4, "matrix": [2, 2], "x": 92, "y": 32 },
|
||||||
{ "flags": 4, "matrix": [2, 3], "x": 130, "y": 32 },
|
{ "flags": 4, "matrix": [2, 3], "x": 130, "y": 32 },
|
||||||
{ "flags": 4, "matrix": [2, 4], "x": 168, "y": 32 },
|
{ "flags": 4, "matrix": [2, 4], "x": 168, "y": 32 },
|
||||||
{ "flags": 4, "matrix": [2, 5], "x": 204, "y": 32 },
|
{ "flags": 4, "matrix": [2, 5], "x": 204, "y": 32 },
|
||||||
|
|
||||||
{ "flags": 4, "matrix": [3, 5], "x": 204, "y": 44 },
|
{ "flags": 4, "matrix": [3, 5], "x": 204, "y": 44 },
|
||||||
{ "flags": 2, "x": 186, "y": 44 },
|
{ "flags": 2, "x": 186, "y": 44 },
|
||||||
{ "flags": 4, "matrix": [3, 4], "x": 168, "y": 44 },
|
{ "flags": 4, "matrix": [3, 4], "x": 168, "y": 44 },
|
||||||
|
@ -149,7 +190,6 @@
|
||||||
{ "flags": 4, "matrix": [3, 1], "x": 56, "y": 44 },
|
{ "flags": 4, "matrix": [3, 1], "x": 56, "y": 44 },
|
||||||
{ "flags": 2, "x": 36, "y": 44 },
|
{ "flags": 2, "x": 36, "y": 44 },
|
||||||
{ "flags": 4, "matrix": [3, 0], "x": 18, "y": 44 },
|
{ "flags": 4, "matrix": [3, 0], "x": 18, "y": 44 },
|
||||||
|
|
||||||
{ "flags": 4, "matrix": [4, 0], "x": 18, "y": 57 },
|
{ "flags": 4, "matrix": [4, 0], "x": 18, "y": 57 },
|
||||||
{ "flags": 4, "matrix": [4, 1], "x": 56, "y": 57 },
|
{ "flags": 4, "matrix": [4, 1], "x": 56, "y": 57 },
|
||||||
{ "flags": 4, "matrix": [4, 2], "x": 92, "y": 57 },
|
{ "flags": 4, "matrix": [4, 2], "x": 92, "y": 57 },
|
||||||
|
|
|
@ -5,21 +5,21 @@
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT_ortho_5x6(
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
|
||||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
|
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
|
||||||
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
|
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
|
||||||
),
|
),
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT_ortho_5x6(
|
||||||
RGB_MOD, _______, _______, _______, _______, _______,
|
RGB_MOD, _______, _______, _______, _______, _______,
|
||||||
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
|
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
|
||||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
|
||||||
_______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, _______, _______
|
||||||
),
|
),
|
||||||
[2] = LAYOUT(
|
[2] = LAYOUT_ortho_5x6(
|
||||||
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
|
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
|
||||||
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||||
_______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______,
|
||||||
|
|
|
@ -5,21 +5,21 @@
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
[0] = LAYOUT(
|
[0] = LAYOUT_ortho_5x6(
|
||||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5,
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,
|
||||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
|
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G,
|
||||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B,
|
||||||
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
|
MO(2), KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC
|
||||||
),
|
),
|
||||||
[1] = LAYOUT(
|
[1] = LAYOUT_ortho_5x6(
|
||||||
RGB_MOD, _______, _______, _______, _______, _______,
|
RGB_MOD, _______, _______, _______, _______, _______,
|
||||||
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
|
_______, _______, KC_UP, _______, KC_VOLU, KC_PGUP,
|
||||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
|
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_PGDN,
|
||||||
_______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______,
|
||||||
_______, _______, _______, _______, _______, _______
|
_______, _______, _______, _______, _______, _______
|
||||||
),
|
),
|
||||||
[2] = LAYOUT(
|
[2] = LAYOUT_ortho_5x6(
|
||||||
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
|
KC_F6, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5,
|
||||||
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
|
||||||
_______, _______, _______, _______, _______, _______,
|
_______, _______, _______, _______, _______, _______,
|
||||||
|
|
Loading…
Reference in a new issue