diff --git a/v3/skyloong/dt40/dt40.json b/v3/skyloong/dt40/dt40.json new file mode 100644 index 0000000000..6673649573 --- /dev/null +++ b/v3/skyloong/dt40/dt40.json @@ -0,0 +1,184 @@ + +{ + "name": "Skyloong DT40", + "vendorId": "0x1EA7", + "productId": "0x6040", + "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-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": [ + [ + { + "c": "#777777", + "w": 1.5 + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "1,9", + { + "c": "#777777", + "w": 1.5 + }, + "0,10" + ], + [ + { + "w": 1.75 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "3,5", + "1,8", + { + "c": "#777777", + "w": 2.25 + }, + "1,10" + ], + [ + { + "w": 2.25 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + { + "c": "#777777", + "w": 1.75 + }, + "2,8", + "2,9", + { + "c": "#aaaaaa" + }, + "2,10" + ], + [ + { + "c": "#777777", + "w": 1.25 + }, + "3,0", + "3,3", + "3,1", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "3,2", + { + "c": "#777777", + "w": 3 + }, + "3,4", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "3,6", + { + "c": "#777777", + "w": 1.25 + }, + "3,7", + "3,8", + "3,9", + "3,10" + ] + ] + } +} +