Skip to content

Commit

Permalink
create function row imprint vial config
Browse files Browse the repository at this point in the history
  • Loading branch information
RealET committed Oct 25, 2023
1 parent f98b608 commit 49d98da
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 58 deletions.
12 changes: 2 additions & 10 deletions keyboards/cyboard/imprint/function_row/info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rgb_matrix": {
"split_count": [40, 40],
"split_count": [38, 38],
"layout": [
{"flags": 4, "matrix": [3, 0], "x": 86, "y": 32},
{"flags": 4, "matrix": [2, 0], "x": 86, "y": 43},
Expand Down Expand Up @@ -30,14 +30,12 @@

{"flags": 4, "matrix": [3, 4], "x": 17, "y": 32},
{"flags": 4, "matrix": [2, 4], "x": 17, "y": 43},
{"flags": 4, "matrix": [1, 4], "x": 17, "y": 53},
{"flags": 4, "matrix": [6, 4], "x": 17, "y": 0},
{"flags": 4, "matrix": [5, 4], "x": 17, "y": 11},
{"flags": 4, "matrix": [4, 4], "x": 17, "y": 21},

{"flags": 4, "matrix": [3, 5], "x": 0, "y": 32},
{"flags": 4, "matrix": [2, 5], "x": 0, "y": 43},
{"flags": 4, "matrix": [1, 5], "x": 0, "y": 53},
{"flags": 4, "matrix": [6, 5], "x": 0, "y": 0},
{"flags": 4, "matrix": [5, 5], "x": 0, "y": 11},
{"flags": 4, "matrix": [4, 5], "x": 0, "y": 21},
Expand Down Expand Up @@ -78,14 +76,12 @@

{"flags": 4, "matrix": [10, 4], "x": 207, "y": 32},
{"flags": 4, "matrix": [9, 4], "x": 207, "y": 43},
{"flags": 4, "matrix": [8, 4], "x": 207, "y": 53},
{"flags": 4, "matrix": [13, 4], "x": 207, "y": 0},
{"flags": 4, "matrix": [12, 4], "x": 207, "y": 11},
{"flags": 4, "matrix": [11, 4], "x": 207, "y": 21},

{"flags": 4, "matrix": [10, 5], "x": 224, "y": 32},
{"flags": 4, "matrix": [9, 5], "x": 224, "y": 43},
{"flags": 4, "matrix": [8, 5], "x": 224, "y": 53},
{"flags": 4, "matrix": [13, 5], "x": 224, "y": 0},
{"flags": 4, "matrix": [12, 5], "x": 224, "y": 11},
{"flags": 4, "matrix": [11, 5], "x": 224, "y": 21},
Expand All @@ -99,7 +95,7 @@
]
},
"layouts": {
"LAYOUT_manuform_fun": {
"LAYOUT_fun": {
"layout": [
{ "matrix": [6, 5], "x": 0, "y": 0 },
{ "matrix": [6, 4], "x": 1, "y": 0 },
Expand Down Expand Up @@ -161,8 +157,6 @@
{ "matrix": [9, 3], "x": 13.5, "y": 3 },
{ "matrix": [9, 4], "x": 14.5, "y": 3 },
{ "matrix": [9, 5], "x": 15.5, "y": 3 },
{ "matrix": [1, 5], "x": 0, "y": 3 },
{ "matrix": [1, 4], "x": 1, "y": 3 },
{ "matrix": [1, 3], "x": 2, "y": 3 },
{ "matrix": [1, 2], "x": 3, "y": 3 },
{ "matrix": [0, 7], "x": 4.5, "y": 3.5 },
Expand All @@ -173,8 +167,6 @@
{ "matrix": [7, 7], "x": 12, "y": 3.5 },
{ "matrix": [8, 2], "x": 13.5, "y": 3 },
{ "matrix": [8, 3], "x": 14.5, "y": 3 },
{ "matrix": [8, 4], "x": 15.5, "y": 3 },
{ "matrix": [8, 5], "x": 16.5, "y": 3 },
{ "matrix": [0, 6], "x": 6.5, "y": 5 },
{ "matrix": [0, 5], "x": 7.5, "y": 5 },
{ "matrix": [0, 1], "x": 7.5, "y": 4 },
Expand Down
88 changes: 84 additions & 4 deletions keyboards/cyboard/imprint/function_row/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,103 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT_manuform_fun(
[0] = LAYOUT_fun(
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
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_UP, KC_DOWN, KC_LGUI, KC_LALT, KC_LGUI, KC_ENT, KC_DEL, KC_BSPC, KC_SPC, MO(1), KC_LBRC, KC_RBRC, KC_LEFT, KC_RIGHT,
KC_LGUI, KC_LALT, KC_LGUI, KC_ENT, KC_DEL, KC_BSPC, KC_SPC, MO(1), KC_LBRC, KC_RBRC,
KC_HOME, KC_END, KC_ESC, KC_GRAVE, KC_CAPS, KC_APP
),

[1] = LAYOUT_manuform_fun(
[1] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_UP, KC_END, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[2] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[3] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[4] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[5] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[6] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[7] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[8] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
),

[9] = LAYOUT_fun(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
)
};
Loading

0 comments on commit 49d98da

Please sign in to comment.