Skip to content

Commit

Permalink
Move layout information into info.json, fix key labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nooges committed May 12, 2023
1 parent 46056ed commit 1d1b0ff
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 75 deletions.
4 changes: 0 additions & 4 deletions keyboards/keebio/cepstrum/cepstrum.c

This file was deleted.

10 changes: 0 additions & 10 deletions keyboards/keebio/cepstrum/cepstrum.h

This file was deleted.

32 changes: 15 additions & 17 deletions keyboards/keebio/cepstrum/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
"vid": "0xCB10"
},
"features": {
"audio": false,
"bootmagic": true,
"command": false,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false,
"unicode": false
"nkro": false
},
"split": {
"enabled": true
Expand All @@ -25,7 +23,7 @@
"LAYOUT_65xt": {
"layout": [
{"label":"F1", "x":0, "y":0},
{"label":"F6", "x":1, "y":0},
{"label":"F2", "x":1, "y":0},

{"label":"Esc", "x":2.25, "y":0},
{"label":"1", "x":3.25, "y":0},
Expand All @@ -42,10 +40,10 @@
{"label":"-", "x":14.25, "y":0},
{"label":"=", "x":15.25, "y":0},
{"label":"Bksp", "x":17.25, "y":0, "w": 2},
{"label":"Home", "x":18.25, "y":0},
{"label":"Del", "x":18.25, "y":0},

{"label":"F2", "x":0, "y":1},
{"label":"F7", "x":1, "y":1},
{"label":"F3", "x":0, "y":1},
{"label":"F4", "x":1, "y":1},

{"label":"Tab", "x":2.25, "y":1, "w":1.5},
{"label":"Q", "x":3.75, "y":1},
Expand All @@ -62,10 +60,10 @@
{"label":"{", "x":14.75, "y":1},
{"label":"}", "x":15.75, "y":1},
{"label":"|", "x":16.75, "y":1, "w":1.5},
{"label":"PgUp", "x":18.25, "y":1},
{"label":"Home", "x":18.25, "y":1},

{"label":"F3", "x":0, "y":2},
{"label":"F8", "x":1, "y":2},
{"label":"F5", "x":0, "y":2},
{"label":"F6", "x":1, "y":2},

{"label":"Caps Lock", "x":2.25, "y":2, "w":1.75},
{"label":"A", "x":4, "y":2},
Expand All @@ -81,10 +79,10 @@
{"label":":", "x":14, "y":2},
{"label":"\"", "x":15, "y":2},
{"label":"Enter", "x":16, "y":2, "w":2.25},
{"label":"PgDn", "x":18.25, "y":2},
{"label":"PgUp", "x":18.25, "y":2},

{"label":"F4", "x":0, "y":3},
{"label":"F9", "x":1, "y":3},
{"label":"F7", "x":0, "y":3},
{"label":"F8", "x":1, "y":3},

{"label":"Shift", "x":2.25, "y":3, "w":2.25},
{"label":"Z", "x":4.5, "y":3},
Expand All @@ -100,9 +98,9 @@
{"label":"/", "x":14.5, "y":3},
{"label":"Shift", "x":15.5, "y":3, "w":1.75},
{"label":"Up", "x":17.25, "y":3},
{"label":"End", "x":18.25, "y":3},
{"label":"PgDn", "x":18.25, "y":3},

{"label":"F5", "x":0, "y":4},
{"label":"F9", "x":0, "y":4},
{"label":"F10", "x":1, "y":4},

{"label":"Ctrl", "x":2.25, "y":4, "w":1.25},
Expand All @@ -113,8 +111,8 @@

{"label":"Space", "x":11.75, "y":4, "w":1.5},
{"label":"Alt", "x":13.25, "y":4},
{"label":"Ctrl", "x":14.25, "y":4},
{"label":"Win", "x":15.25, "y":4},
{"label":"Fn", "x":14.25, "y":4},
{"label":"Ctrl", "x":15.25, "y":4},
{"label":"Left", "x":16.25, "y":4},
{"label":"Down", "x":17.25, "y":4},
{"label":"Right", "x":18.25, "y":4}
Expand Down
14 changes: 0 additions & 14 deletions keyboards/keebio/cepstrum/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
RGB_VAI, RGB_VAD, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
[2] = LAYOUT_65xt(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
[3] = LAYOUT_65xt(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};
89 changes: 86 additions & 3 deletions keyboards/keebio/cepstrum/rev1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
"debounce": 5,
"diode_direction": "COL2ROW",
"features": {
"console" : true ,
"rgblight" : false,
"backlight" : false,
"rgb_matrix": true
},
"split": {
Expand All @@ -24,6 +21,92 @@
"cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP5", "GP6", "GP7", "GP8"],
"rows": ["GP26", "GP25", "GP21", "GP20", "GP19"]
},
"layouts": {
"LAYOUT_65xt": {
"layout": [
{ "label": "F1", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
{ "label": "F2", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 },
{ "label": "Esc", "matrix": [0, 2], "w": 1, "x": 2.25, "y": 0 },
{ "label": "1", "matrix": [0, 3], "w": 1, "x": 3.25, "y": 0 },
{ "label": "2", "matrix": [0, 4], "w": 1, "x": 4.25, "y": 0 },
{ "label": "3", "matrix": [0, 5], "w": 1, "x": 5.25, "y": 0 },
{ "label": "4", "matrix": [0, 6], "w": 1, "x": 6.25, "y": 0 },
{ "label": "5", "matrix": [0, 7], "w": 1, "x": 7.25, "y": 0 },
{ "label": "6", "matrix": [0, 8], "w": 1, "x": 8.25, "y": 0 },
{ "label": "7", "matrix": [5, 0], "w": 1, "x": 10.25, "y": 0 },
{ "label": "8", "matrix": [5, 1], "w": 1, "x": 11.25, "y": 0 },
{ "label": "9", "matrix": [5, 2], "w": 1, "x": 12.25, "y": 0 },
{ "label": "0", "matrix": [5, 3], "w": 1, "x": 13.25, "y": 0 },
{ "label": "-", "matrix": [5, 4], "w": 1, "x": 14.25, "y": 0 },
{ "label": "=", "matrix": [5, 5], "w": 1, "x": 15.25, "y": 0 },
{ "label": "Bksp", "matrix": [5, 7], "w": 2, "x": 17.25, "y": 0 },
{ "label": "Del", "matrix": [5, 8], "w": 1, "x": 18.25, "y": 0 },
{ "label": "F3", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 },
{ "label": "F4", "matrix": [1, 1], "w": 1, "x": 1, "y": 1 },
{ "label": "Tab", "matrix": [1, 2], "w": 1.5, "x": 2.25, "y": 1 },
{ "label": "Q", "matrix": [1, 3], "w": 1, "x": 3.75, "y": 1 },
{ "label": "W", "matrix": [1, 4], "w": 1, "x": 4.75, "y": 1 },
{ "label": "E", "matrix": [1, 5], "w": 1, "x": 5.75, "y": 1 },
{ "label": "R", "matrix": [1, 6], "w": 1, "x": 6.75, "y": 1 },
{ "label": "T", "matrix": [1, 7], "w": 1, "x": 7.75, "y": 1 },
{ "label": "Y", "matrix": [6, 0], "w": 1, "x": 9.75, "y": 1 },
{ "label": "U", "matrix": [6, 1], "w": 1, "x": 10.75, "y": 1 },
{ "label": "I", "matrix": [6, 2], "w": 1, "x": 11.75, "y": 1 },
{ "label": "O", "matrix": [6, 3], "w": 1, "x": 12.75, "y": 1 },
{ "label": "P", "matrix": [6, 4], "w": 1, "x": 13.75, "y": 1 },
{ "label": "{", "matrix": [6, 5], "w": 1, "x": 14.75, "y": 1 },
{ "label": "}", "matrix": [6, 6], "w": 1, "x": 15.75, "y": 1 },
{ "label": "|", "matrix": [6, 7], "w": 1.5, "x": 16.75, "y": 1 },
{ "label": "Home", "matrix": [6, 8], "w": 1, "x": 18.25, "y": 1 },
{ "label": "F5", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 },
{ "label": "F6", "matrix": [2, 1], "w": 1, "x": 1, "y": 2 },
{ "label": "Caps Lock", "matrix": [2, 2], "w": 1.75, "x": 2.25, "y": 2 },
{ "label": "A", "matrix": [2, 3], "w": 1, "x": 4, "y": 2 },
{ "label": "S", "matrix": [2, 4], "w": 1, "x": 5, "y": 2 },
{ "label": "D", "matrix": [2, 5], "w": 1, "x": 6, "y": 2 },
{ "label": "F", "matrix": [2, 6], "w": 1, "x": 7, "y": 2 },
{ "label": "G", "matrix": [2, 7], "w": 1, "x": 8, "y": 2 },
{ "label": "H", "matrix": [7, 0], "w": 1, "x": 10, "y": 2 },
{ "label": "J", "matrix": [7, 1], "w": 1, "x": 11, "y": 2 },
{ "label": "K", "matrix": [7, 2], "w": 1, "x": 12, "y": 2 },
{ "label": "L", "matrix": [7, 3], "w": 1, "x": 13, "y": 2 },
{ "label": ":", "matrix": [7, 4], "w": 1, "x": 14, "y": 2 },
{ "label": "\"", "matrix": [7, 5], "w": 1, "x": 15, "y": 2 },
{ "label": "Enter", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2 },
{ "label": "PgUp", "matrix": [7, 8], "w": 1, "x": 18.25, "y": 2 },
{ "label": "F7", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 },
{ "label": "F8", "matrix": [3, 1], "w": 1, "x": 1, "y": 3 },
{ "label": "Shift", "matrix": [3, 2], "w": 2.25, "x": 2.25, "y": 3 },
{ "label": "Z", "matrix": [3, 4], "w": 1, "x": 4.5, "y": 3 },
{ "label": "X", "matrix": [3, 5], "w": 1, "x": 5.5, "y": 3 },
{ "label": "C", "matrix": [3, 6], "w": 1, "x": 6.5, "y": 3 },
{ "label": "V", "matrix": [3, 7], "w": 1, "x": 7.5, "y": 3 },
{ "label": "B", "matrix": [3, 8], "w": 1, "x": 8.5, "y": 3 },
{ "label": "N", "matrix": [8, 0], "w": 1, "x": 10.5, "y": 3 },
{ "label": "M", "matrix": [8, 1], "w": 1, "x": 11.5, "y": 3 },
{ "label": ",", "matrix": [8, 2], "w": 1, "x": 12.5, "y": 3 },
{ "label": ".", "matrix": [8, 3], "w": 1, "x": 13.5, "y": 3 },
{ "label": "/", "matrix": [8, 4], "w": 1, "x": 14.5, "y": 3 },
{ "label": "Shift", "matrix": [8, 6], "w": 1.75, "x": 15.5, "y": 3 },
{ "label": "Up", "matrix": [8, 7], "w": 1, "x": 17.25, "y": 3 },
{ "label": "PgDn", "matrix": [8, 8], "w": 1, "x": 18.25, "y": 3 },
{ "label": "F9", "matrix": [4, 0], "w": 1, "x": 0, "y": 4 },
{ "label": "F10", "matrix": [4, 1], "w": 1, "x": 1, "y": 4 },
{ "label": "Ctrl", "matrix": [4, 2], "w": 1.25, "x": 2.25, "y": 4 },
{ "label": "Win", "matrix": [4, 3], "w": 1.25, "x": 3.5, "y": 4 },
{ "label": "Alt", "matrix": [4, 4], "w": 1.25, "x": 4.75, "y": 4 },
{ "label": "Fn", "matrix": [4, 5], "w": 1.25, "x": 6, "y": 4 },
{ "label": "Space", "matrix": [4, 7], "w": 1, "x": 7.25, "y": 4 },
{ "label": "Space", "matrix": [9, 1], "w": 1.5, "x": 11.75, "y": 4 },
{ "label": "Alt", "matrix": [9, 2], "w": 1, "x": 13.25, "y": 4 },
{ "label": "Fn", "matrix": [9, 3], "w": 1, "x": 14.25, "y": 4 },
{ "label": "Ctrl", "matrix": [9, 4], "w": 1, "x": 15.25, "y": 4 },
{ "label": "Left", "matrix": [9, 6], "w": 1, "x": 16.25, "y": 4 },
{ "label": "Down", "matrix": [9, 7], "w": 1, "x": 17.25, "y": 4 },
{ "label": "Right", "matrix": [9, 8], "w": 1, "x": 18.25, "y": 4 }
]
}
},
"rgb_matrix": {
"driver": "WS2812",
"split_count": [48, 48],
Expand Down
27 changes: 0 additions & 27 deletions keyboards/keebio/cepstrum/rev1/rev1.h

This file was deleted.

0 comments on commit 1d1b0ff

Please sign in to comment.