From 0a95504f8aabc8c67c2f717d3cf1eb8ace74eb04 Mon Sep 17 00:00:00 2001 From: skyloong <92424712+JZ-Skyloong@users.noreply.github.com> Date: Sat, 3 Feb 2024 08:32:25 +0800 Subject: [PATCH] Add Skyloong/Gk61 pro Keyboard (#2096) * Create gk61 pro keyboard * update layout define * add layout label for split space * update RGB matrix effects * Correct matrix rows number * Update gk61pro.json update rgb animations * Update gk61pro.json Update RGB animations---delete rainbow_beacon and rainbow_pinwheel * Modified matrix layout labels --- v3/skyloong/gk61/pro/gk61pro.json | 225 ++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 v3/skyloong/gk61/pro/gk61pro.json diff --git a/v3/skyloong/gk61/pro/gk61pro.json b/v3/skyloong/gk61/pro/gk61pro.json new file mode 100644 index 0000000000..a6f8bc6fe7 --- /dev/null +++ b/v3/skyloong/gk61/pro/gk61pro.json @@ -0,0 +1,225 @@ +{ + "name": "Skyloong Gk61 Pro", + "vendorId": "0x1EA7", + "productId": "0x6A61", + "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-band_spiral_val", + "4-cycle_all", + "5-cycle_left_right", + "6-cycle_up_down", + "7-cycle_out_in", + "8-cycle_out_in_dual", + "9-rainbow_moving_chevron", + "10-cycle_pinwheel", + "11-cycle_spiral", + "12-dual_beacom", + "13-raindrops", + "14-jellybean_raindrops", + "15-pixel_rain", + "16-typing_heatmap", + "17-digital_rain", + "18-solid_reactive_simple", + "19-solid_reactive_multiwide", + "20-solid_reactive_multinexus", + "21-splash", + "22-solid_splash" + ] + }, + { + "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} != 14 && {id_qmk_rgb_matrix_effect} != 17", + "label": "Color", + "type": "color", + "content": ["id_qmk_rgb_matrix_color", 3, 4] + } + ] + } + ] + } + ], + "matrix": {"rows": 5, "cols": 14}, + "layouts": { + "labels": [ + ["Space_select","Long_Space","Split_space+Encoder"] + ], + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "c": "#777777", + "w": 2 + }, + "0,13" + ], + [ + { + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "c": "#777777", + "w": 1.5 + }, + "1,13" + ], + [ + { + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "c": "#777777", + "w": 2.25 + }, + "2,13" + ], + [ + { + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + { + "c": "#777777", + "w": 2.75 + }, + "3,12" + ], + [ + { + "w": 1.25 + }, + "4,0", + { + "w": 1.25 + }, + "4,1", + { + "w": 1.25 + }, + "4,2", + { + "w": 6.25 + }, + "4,5\n\n\n0,0", + { + "w": 1.25 + }, + "4,9", + { + "w": 1.25 + }, + "4,10", + { + "w": 1.25 + }, + "4,11", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,13" + ], + [ + { + "x": 3.75, + "c": "#777777", + "w": 2.625 + }, + "4,4\n\n\n0,1", + "4,6\n\n\n0,1\n\n\n\n\n\ne0", + { + "w": 2.625 + }, + "4,8\n\n\n0,1" + ] + ] + } +} +