Skip to content

Commit

Permalink
update RGB matrix effects
Browse files Browse the repository at this point in the history
  • Loading branch information
JZ-Skyloong committed Jul 12, 2023
1 parent e1f4534 commit f4ece31
Showing 1 changed file with 67 additions and 3 deletions.
70 changes: 67 additions & 3 deletions v3/skyloong/dt40/dt40.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,71 @@
"vendorId": "0x1EA7",
"productId": "0x6040",
"keycodes": ["qmk_lighting"],
"menus": ["qmk_rgb_matrix" ],
"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-alphas_mods",
"3-gradient_up_down",
"4-gradient_left_right",
"5-breathing",
"6-band_sat",
"7-band_pinwheel_sat",
"8-band_pinwheel_val",
"9-band_spiral_sat",
"10-band_spiral_val",
"11-cycle_all",
"12-cycle_left_right",
"13-cycle_up_down",
"14-cycle_out_in",
"15-cycle_out_in_dual",
"16-rainbow_moving_chevron",
"17-cycle_pinwheel",
"18-cycle_spiral",
"19-dual_beacon",
"20-raindrops",
"jellybean_raindrops",
"22-hue_breathing",
"23-hue_pendulum",
"24-hue_wave",
"25-pixel_rain",
"26-pixel_fractal"
]
},
{
"showIf": "{id_qmk_rgb_matrix_effect} != 0",
"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} != 21",
"label": "Color",
"type": "color",
"content": ["id_qmk_rgb_matrix_color", 3, 4]
}
]
}
]
}
],
"matrix": {"rows": 4, "cols": 11},
"layouts": {
"keymap": [
Expand Down Expand Up @@ -88,13 +152,13 @@
"w": 1.25
},
"3,0",
"3,3",
"3,1",
"3,2",
{
"c": "#aaaaaa",
"w": 1.25
},
"3,3",
"3,2",
{
"c": "#777777",
"w": 3
Expand Down

0 comments on commit f4ece31

Please sign in to comment.