diff --git a/v3/do60/do60.json b/v3/do60/do60.json new file mode 100644 index 0000000000..b7f6821d71 --- /dev/null +++ b/v3/do60/do60.json @@ -0,0 +1,787 @@ +{ + "name": "Doyu Studio DO60", + "vendorId": "0x4453", + "productId": "0x6060", + "menus": [ + { + "label": "Lighting", + "content": [ + { + "label": "RGB Underglow", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [ + 0, + 255 + ], + "content": [ + "id_qmk_rgblight_brightness", + 2, + 1 + ] + }, + { + "label": "Effect", + "type": "dropdown", + "content": [ + "id_qmk_rgblight_effect", + 2, + 2 + ], + "options": [ + "All Off", + "Solid Color", + "Breathing 1", + "Breathing 2", + "Breathing 3", + "Breathing 4", + "Rainbow Mood 1", + "Rainbow Mood 2", + "Rainbow Mood 3", + "Rainbow Swirl 1", + "Rainbow Swirl 2", + "Rainbow Swirl 3", + "Rainbow Swirl 4", + "Rainbow Swirl 5", + "Rainbow Swirl 6", + "Snake 1", + "Snake 2", + "Snake 3", + "Snake 4", + "Snake 5", + "Snake 6", + "Knight 1", + "Knight 2", + "Knight 3", + "Christmas", + "Gradient 1", + "Gradient 2", + "Gradient 3", + "Gradient 4", + "Gradient 5", + "Gradient 6", + "Gradient 7", + "Gradient 8", + "Gradient 9", + "Gradient 10", + "RGB Test", + "Alternating", + "Twinkle 1", + "Twinkle 2", + "Twinkle 3", + "Twinkle 4", + "Twinkle 5", + "Twinkle 6" + ] + }, + { + "showIf": "{id_qmk_rgblight_effect} != 0", + "label": "Effect Speed", + "type": "range", + "options": [ + 0, + 3 + ], + "content": [ + "id_qmk_rgblight_effect_speed", + 2, + 3 + ] + }, + { + "showIf": "{id_qmk_rgblight_effect} != 6 && {id_qmk_rgblight_effect} != 7 && {id_qmk_rgblight_effect} != 8 && {id_qmk_rgblight_effect} != 9 && {id_qmk_rgblight_effect} != 10 && {id_qmk_rgblight_effect} != 0 && {id_qmk_rgblight_effect} != 11 && {id_qmk_rgblight_effect} != 12 && {id_qmk_rgblight_effect} != 13 && {id_qmk_rgblight_effect} != 14 && {id_qmk_rgblight_effect} != 35", + "label": "Color", + "type": "color", + "content": [ + "id_qmk_rgblight_color", + 2, + 4 + ] + } + ] + } + ] + } + ], + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "labels": [ + "Split Backspace", + [ + "Enter Key Cluster", + "ANSI", + "Split ANSI", + "ISO" + ], + [ + "Shift Row", + "ANSI", + "ISO", + "64-key ANSI", + "64-key ISO" + ], + [ + "RShift Cluster", + "2.75u", + "1.75u-1u", + "1u-1.75u", + "Arrows", + "64-Key" + ], + [ + "Left Mods", + "3x1.25u", + "Tsangan", + "WKL", + "HHKB", + "2x1.5u" + ], + [ + "Spacebar", + "6.25u", + "Split 6.25u", + "Chiwi", + "Chiwi Alternative", + "Tsangan", + "6u", + "Split 6u", + "Left 7u" + ], + [ + "Right Mods", + "4x1.25u", + "5x1u", + "Chiwi", + "Chiwi Alternative", + "Tsangan", + "WKL", + "7u HHKB", + "4x1u", + "Infinity", + "HHKB" + ] + ], + "keymap": [ + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "3,0\n\n\n2,1", + { + "c": "#cccccc" + }, + "3,1\n\n\n2,1", + "3,2\n\n\n2,1", + "3,3\n\n\n2,1", + "3,4\n\n\n2,1", + "3,5\n\n\n2,1", + "3,6\n\n\n2,1", + "3,7\n\n\n2,1", + "3,8\n\n\n2,1", + "3,9\n\n\n2,1", + "3,10\n\n\n2,1" + ], + [ + { + "c": "#aaaaaa", + "w": 2 + }, + "3,0\n\n\n2,2", + { + "c": "#cccccc" + }, + "3,2\n\n\n2,2", + "3,3\n\n\n2,2", + "3,4\n\n\n2,2", + "3,5\n\n\n2,2", + "3,6\n\n\n2,2", + "3,7\n\n\n2,2", + "3,8\n\n\n2,2", + "3,9\n\n\n2,2", + "3,10\n\n\n2,2", + "3,11\n\n\n2,2" + ], + [ + { + "c": "#aaaaaa" + }, + "3,0\n\n\n2,3", + { + "c": "#cccccc" + }, + "3,1\n\n\n2,3", + "3,2\n\n\n2,3", + "3,3\n\n\n2,3", + "3,4\n\n\n2,3", + "3,5\n\n\n2,3", + "3,6\n\n\n2,3", + "3,7\n\n\n2,3", + "3,8\n\n\n2,3", + "3,9\n\n\n2,3", + "3,10\n\n\n2,3", + "3,11\n\n\n2,3" + ], + [ + { + "y": 0.25, + "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": "#aaaaaa", + "w": 2 + }, + "0,14\n\n\n0,0", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,13\n\n\n0,1", + "0,14\n\n\n0,1" + ], + [ + { + "c": "#aaaaaa", + "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", + { + "w": 1.5 + }, + "1,14\n\n\n1,0", + { + "x": 1.25, + "w": 1.5 + }, + "1,14\n\n\n1,1", + { + "x": 1.5, + "c": "#777777", + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,14\n\n\n1,2" + ], + [ + { + "c": "#aaaaaa", + "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,14\n\n\n1,0", + { + "x": 0.5, + "c": "#cccccc" + }, + "1,12\n\n\n1,1", + { + "c": "#777777", + "w": 1.25 + }, + "2,14\n\n\n1,1", + { + "x": 0.5, + "c": "#cccccc" + }, + "1,12\n\n\n1,2" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0\n\n\n2,0", + { + "c": "#cccccc" + }, + "3,2\n\n\n2,0", + "3,3\n\n\n2,0", + "3,4\n\n\n2,0", + "3,5\n\n\n2,0", + "3,6\n\n\n2,0", + "3,7\n\n\n2,0", + "3,8\n\n\n2,0", + "3,9\n\n\n2,0", + "3,10\n\n\n2,0", + "3,11\n\n\n3,0", + { + "c": "#aaaaaa", + "w": 2.75 + }, + "3,13\n\n\n3,0", + { + "x": 0.25, + "c": "#cccccc" + }, + "3,11\n\n\n3,1", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,13\n\n\n3,1", + "3,14\n\n\n3,1", + { + "x": 0.25, + "c": "#cccccc" + }, + "3,11\n\n\n3,2", + "3,13\n\n\n3,2", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,14\n\n\n3,2", + { + "x": 0.25, + "w": 1.75 + }, + "3,11\n\n\n3,3", + { + "c": "#777777" + }, + "3,13\n\n\n3,3", + { + "c": "#cccccc" + }, + "3,14\n\n\n3,3", + { + "x": 0.25, + "w": 0.75, + "d": true + }, + "\n\n\n3,4", + { + "c": "#aaaaaa" + }, + "3,12\n\n\n3,4", + { + "c": "#777777" + }, + "3,13\n\n\n3,4", + { + "c": "#cccccc" + }, + "3,14\n\n\n3,4" + ], + [ + { + "w": 3.75, + "d": true + }, + "\n\n\n5,0", + { + "x": -3.75, + "c": "#aaaaaa", + "w": 1.25 + }, + "4,0\n\n\n4,0", + { + "w": 1.25 + }, + "4,1\n\n\n4,0", + { + "w": 1.25 + }, + "4,2\n\n\n4,0", + { + "c": "#cccccc", + "w": 6.25, + "d": true + }, + "\n\n\n6,0", + { + "x": -6.25, + "w": 6.25 + }, + "4,6\n\n\n5,0", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,10\n\n\n6,0", + { + "w": 1.25 + }, + "4,11\n\n\n6,0", + { + "w": 1.25 + }, + "4,12\n\n\n6,0", + { + "w": 1.25 + }, + "4,14\n\n\n6,0" + ], + [ + { + "c": "#cccccc", + "w": 3.75, + "d": true + }, + "\n\n\n5,1", + { + "w": 2.75 + }, + "4,5\n\n\n5,1", + { + "w": 1.25 + }, + "4,6\n\n\n5,1", + { + "w": 2.25 + }, + "4,7\n\n\n5,1" + ], + [ + { + "w": 3.75, + "d": true + }, + "\n\n\n5,2", + { + "w": 3 + }, + "4,5\n\n\n5,2", + { + "w": 3 + }, + "4,7\n\n\n5,2" + ], + [ + { + "w": 3.75, + "d": true + }, + "\n\n\n5,3", + { + "w": 3 + }, + "4,5\n\n\n5,3", + { + "w": 2.75 + }, + "4,7\n\n\n5,3" + ], + [ + { + "w": 4, + "d": true + }, + "\n\n\n5,4", + { + "w": 7 + }, + "4,6\n\n\n5,4" + ], + [ + { + "w": 4, + "d": true + }, + "\n\n\n5,5", + { + "w": 6 + }, + "4,6\n\n\n5,5" + ], + [ + { + "w": 4, + "d": true + }, + "\n\n\n5,6", + { + "w": 3 + }, + "4,5\n\n\n5,6", + { + "w": 3 + }, + "4,7\n\n\n5,6" + ], + [ + { + "w": 3, + "d": true + }, + "\n\n\n5,7", + { + "w": 7 + }, + "4,6\n\n\n5,7" + ], + [ + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,0\n\n\n4,1", + "4,1\n\n\n4,1", + { + "w": 1.5 + }, + "4,2\n\n\n4,1" + ], + [ + { + "w": 1.5 + }, + "4,0\n\n\n4,2", + { + "x": 1, + "w": 1.5 + }, + "4,2\n\n\n4,2" + ], + [ + { + "w": 1.5, + "d": true + }, + "\n\n\n4,3", + "4,1\n\n\n4,3", + { + "w": 1.5 + }, + "4,2\n\n\n4,3" + ], + [ + { + "w": 1.5 + }, + "4,0\n\n\n4,4", + { + "w": 1.5 + }, + "4,1\n\n\n4,4", + { + "x": 0.75, + "c": "#cccccc", + "w": 6.25, + "d": true + }, + "\n\n\n6,1", + { + "c": "#aaaaaa" + }, + "4,10\n\n\n6,1", + "4,11\n\n\n6,1", + { + "c": "#777777" + }, + "4,12\n\n\n6,1", + "4,13\n\n\n6,1", + "4,14\n\n\n6,1" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 6, + "d": true + }, + "\n\n\n6,2", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,10\n\n\n6,2", + "4,11\n\n\n6,2", + { + "c": "#777777" + }, + "4,12\n\n\n6,2", + "4,13\n\n\n6,2", + "4,14\n\n\n6,2" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 5.75, + "d": true + }, + "\n\n\n6,3", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,10\n\n\n6,3", + { + "w": 1.25 + }, + "4,11\n\n\n6,3", + { + "c": "#777777" + }, + "4,12\n\n\n6,3", + "4,13\n\n\n6,3", + "4,14\n\n\n6,3" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 7.25, + "d": true + }, + "\n\n\n6,4", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11\n\n\n6,4", + "4,12\n\n\n6,4", + { + "w": 1.5 + }, + "4,14\n\n\n6,4" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 7.25, + "d": true + }, + "\n\n\n6,5", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11\n\n\n6,5", + { + "x": 1, + "w": 1.5 + }, + "4,14\n\n\n6,5" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 7.25, + "d": true + }, + "\n\n\n6,6", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11\n\n\n6,6", + "4,12\n\n\n6,6" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 7.25, + "d": true + }, + "\n\n\n6,7", + { + "c": "#aaaaaa" + }, + "4,11\n\n\n6,7", + { + "c": "#777777" + }, + "4,12\n\n\n6,7", + "4,13\n\n\n6,7", + "4,14\n\n\n6,7" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 6.25, + "d": true + }, + "\n\n\n6,8", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n6,8", + "4,11\n\n\n6,8", + "4,12\n\n\n6,8", + { + "w": 1.5 + }, + "4,14\n\n\n6,8" + ], + [ + { + "x": 3.75, + "c": "#cccccc", + "w": 6.25, + "d": true + }, + "\n\n\n6,9", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,10\n\n\n6,9", + "4,11\n\n\n6,9" + ] + ] + } +}