Skip to content

Commit

Permalink
Merge pull request #2314 from Cipulot/periodical_formatting
Browse files Browse the repository at this point in the history
Periodical JSON formatting
  • Loading branch information
Cipulot authored Jul 5, 2024
2 parents fdf6267 + 80d450a commit d00359d
Show file tree
Hide file tree
Showing 30 changed files with 743 additions and 177 deletions.
24 changes: 20 additions & 4 deletions src/atxkb/1894/1894.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,26 @@
"lighting": "qmk_backlight_rgblight",
"layouts": {
"labels": [
["Backspace", "Unified", "Split"],
["Enter", "ANSI", "ISO"],
["Left Shift", "ANSI", "ISO"],
["Right Shift", "Split", "Unified"],
[
"Backspace",
"Unified",
"Split"
],
[
"Enter",
"ANSI",
"ISO"
],
[
"Left Shift",
"ANSI",
"ISO"
],
[
"Right Shift",
"Split",
"Unified"
],
[
"Bottom Row",
"Tsangan",
Expand Down
21 changes: 18 additions & 3 deletions src/boardsource/3x4/3x4.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,24 @@
"lighting": "none",
"layouts": {
"keymap": [
["0,0", "0,1", "0,2", "0,3"],
["1,0", "1,1", "1,2", "1,3"],
["2,0", "2,1", "2,2", "2,3"]
[
"0,0",
"0,1",
"0,2",
"0,3"
],
[
"1,0",
"1,1",
"1,2",
"1,3"
],
[
"2,0",
"2,1",
"2,2",
"2,3"
]
]
}
}
15 changes: 12 additions & 3 deletions v3/ah/haven60.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,24 @@
"rows": 5,
"cols": 14
},
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgblight"],
"keycodes": [
"qmk_lighting"
],
"menus": [
"qmk_rgblight"
],
"layouts": {
"labels": [
"Split Backspace",
"ISO Enter",
"Split Left Shift",
"Split Right Shift",
["Bottom Row", "Full", "WKL", "HHKB (7u)"]
[
"Bottom Row",
"Full",
"WKL",
"HHKB (7u)"
]
],
"keymap": [
[
Expand Down
32 changes: 26 additions & 6 deletions v3/atxkb/1894/1894.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,34 @@
"rows": 5,
"cols": 14
},
"keycodes": ["qmk_lighting"],
"menus": ["qmk_backlight_rgblight"],
"keycodes": [
"qmk_lighting"
],
"menus": [
"qmk_backlight_rgblight"
],
"layouts": {
"labels": [
["Backspace", "Unified", "Split"],
["Enter", "ANSI", "ISO"],
["Left Shift", "ANSI", "ISO"],
["Right Shift", "Split", "Unified"],
[
"Backspace",
"Unified",
"Split"
],
[
"Enter",
"ANSI",
"ISO"
],
[
"Left Shift",
"ANSI",
"ISO"
],
[
"Right Shift",
"Split",
"Unified"
],
[
"Bottom Row",
"Tsangan",
Expand Down
21 changes: 18 additions & 3 deletions v3/boardsource/3x4/3x4.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,24 @@
},
"layouts": {
"keymap": [
["0,0", "0,1", "0,2", "0,3"],
["1,0", "1,1", "1,2", "1,3"],
["2,0", "2,1", "2,2", "2,3"]
[
"0,0",
"0,1",
"0,2",
"0,3"
],
[
"1,0",
"1,1",
"1,2",
"1,3"
],
[
"2,0",
"2,1",
"2,2",
"2,3"
]
]
}
}
10 changes: 7 additions & 3 deletions v3/cannonkeys/petrichor/petrichor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
"name": "Petrichor",
"vendorId": "0xCA04",
"productId": "0x0029",
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgblight"],
"matrix": {
"rows": 5,
"cols": 18
},
"keycodes": [
"qmk_lighting"
],
"menus": [
"qmk_rgblight"
],
"layouts": {
"labels": [
"Split Backspace",
Expand Down Expand Up @@ -326,4 +330,4 @@
]
]
}
}
}
7 changes: 6 additions & 1 deletion v3/cipulot/60xt/60xt.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"ISO",
"Vertical 2U #1",
"Vertical 2U #2",
["Bottom Row", "7U WK", "7U WKL", "7U HHKB"]
[
"Bottom Row",
"7U WK",
"7U WKL",
"7U HHKB"
]
],
"keymap": [
[
Expand Down
8 changes: 6 additions & 2 deletions v3/craftwalk/craftwalk.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
"rows": 3,
"cols": 7
},
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgblight"],
"keycodes": [
"qmk_lighting"
],
"menus": [
"qmk_rgblight"
],
"layouts": {
"keymap": [
[
Expand Down
7 changes: 6 additions & 1 deletion v3/dcpedit/masonry/masonry.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"layouts": {
"labels": [
"2u Modifiers",
["Bottom Row", "1u Keys", "2u Spacebars", "3u Spacebars"]
[
"Bottom Row",
"1u Keys",
"2u Spacebars",
"3u Spacebars"
]
],
"keymap": [
[
Expand Down
13 changes: 10 additions & 3 deletions v3/era/linx3/n87/n87.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,17 @@
"rows": 6,
"cols": 17
},
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgb_matrix"],
"keycodes": [
"qmk_lighting"
],
"menus": [
"qmk_rgb_matrix"
],
"layouts": {
"labels": ["Split Backspace", "Split Right Shift"],
"labels": [
"Split Backspace",
"Split Right Shift"
],
"keymap": [
[
{
Expand Down
73 changes: 60 additions & 13 deletions v3/era/sirind/tomak/tomak.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
"shortName": "IN Sat-"
}
],
"keycodes": ["qmk_lighting"],
"keycodes": [
"qmk_lighting"
],
"menus": [
{
"label": "Lighting",
Expand All @@ -59,13 +61,24 @@
{
"label": "Brightness",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_brightness", 3, 1]
"options": [
0,
255
],
"content": [
"id_qmk_rgb_matrix_brightness",
3,
1
]
},
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgb_matrix_effect", 3, 2],
"content": [
"id_qmk_rgb_matrix_effect",
3,
2
],
"options": [
"All Off",
"Solid Color",
Expand Down Expand Up @@ -118,14 +131,25 @@
"showIf": "{id_qmk_rgb_matrix_effect} != 0",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
"options": [
0,
255
],
"content": [
"id_qmk_rgb_matrix_effect_speed",
3,
3
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 24 && {id_qmk_rgb_matrix_effect} != 28 && {id_qmk_rgb_matrix_effect} != 29 && {id_qmk_rgb_matrix_effect} != 32",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
"content": [
"id_qmk_rgb_matrix_color",
3,
4
]
}
]
},
Expand All @@ -135,32 +159,55 @@
{
"label": "Indicator toggle",
"type": "toggle",
"content": ["id_custom_indicator_toggle", 0, 0]
"content": [
"id_custom_indicator_toggle",
0,
0
]
},
{
"showIf": "{id_custom_indicator_toggle} != 0",
"label": "Override indicator",
"type": "toggle",
"content": ["id_custom_indicator_override", 0, 1]
"content": [
"id_custom_indicator_override",
0,
1
]
},
{
"label": "Brightness",
"type": "range",
"options": [0, 255],
"content": ["id_custom_indicator_brightness", 0, 2]
"options": [
0,
255
],
"content": [
"id_custom_indicator_brightness",
0,
2
]
},
{
"label": "Color",
"type": "color",
"content": ["id_custom_indicator_color", 0, 3]
"content": [
"id_custom_indicator_color",
0,
3
]
}
]
}
]
}
],
"layouts": {
"labels": ["Split Backspace", "Split Right shift", "Split Right space"],
"labels": [
"Split Backspace",
"Split Right shift",
"Split Right space"
],
"keymap": [
[
{
Expand Down
6 changes: 5 additions & 1 deletion v3/jaykeeb/jk65/jk65.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"labels": [
"Split Backspace",
"Split LShift",
["Bottom Row", "7U", "6.25U"]
[
"Bottom Row",
"7U",
"6.25U"
]
],
"keymap": [
[
Expand Down
Loading

0 comments on commit d00359d

Please sign in to comment.