Skip to content

Commit

Permalink
Add Skyloong/Qk21 v1 keyboard (the-via#2095)
Browse files Browse the repository at this point in the history
* Create qk21 v1 number pad keyboard

* update key color

* Modified rgb matrix effect
  • Loading branch information
JZ-Skyloong authored Dec 2, 2023
1 parent 0151b14 commit bb5add3
Showing 1 changed file with 122 additions and 0 deletions.
122 changes: 122 additions & 0 deletions v3/skyloong/qk21/v1/qk21_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"name": "Skyloong qk21 V1",
"vendorId": "0x1EA7",
"productId": "0x6021",
"keycodes": ["qmk_lighting"],
"menus": [
{
"label": "Lighting",
"content": [
{
"label": "Backlight",
"content": [
{
"label": "Brightness",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_brightness", 3, 1]
},
{
"label": "Effect",
"type": "dropdown",
"content": ["id_qmk_rgb_matrix_effect", 3, 2],
"options": [
"0-All Off",
"1-solid_color",
"2-breathing",
"3-cycle_all",
"4-cycle_up_down",
"5-cycle_pinwheel",
"6-cycle_spiral",
"7-rainbow_beacon",
"8-rainbow_pinwheels",
"9-raindrops",
"10-jellybean_raindrops",
"11-pixel_rain",
"12-typing_heatmap",
"13-solid_reactive_simple",
"14-solid_reactive_cross",
"15-splash"
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 1",
"label": "Effect Speed",
"type": "range",
"options": [0, 255],
"content": ["id_qmk_rgb_matrix_effect_speed", 3, 3]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0 && {id_qmk_rgb_matrix_effect} != 9 && {id_qmk_rgb_matrix_effect} != 11",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
}
]
}
]
}
],
"matrix": {"rows": 6, "cols": 4},
"layouts": {
"keymap": [
[
{
"c":"#777777"
},
"0,0\nESC",
"0,1",
{
"c":"#aaaaaa"
},
"0,2",
{
"c":"#777777"
},
"0,3"
],
[
{
"c":"#cccccc"
},
"1,0",
"1,1",
"1,2",
"1,3"
],
[
"2,0",
"2,1",
"2,2",
{
"h": 2
},
"3,3"
],
[
"3,0",
"3,1",
"3,2"
],
[
"4,0",
"4,1",
"4,2",
{
"c":"#777777",
"h": 2
},
"5,3"
],
[
{
"c":"#cccccc",
"w": 2
},
"5,0",
"5,2"
]
]
}
}

0 comments on commit bb5add3

Please sign in to comment.