From 335ce0fefe9608c6621bc1a4fb579abf39d05c36 Mon Sep 17 00:00:00 2001 From: Cipulot <40441626+Cipulot@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:58:27 +0100 Subject: [PATCH] Add Lily --- v3/ai03/lily/lily.json | 336 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 336 insertions(+) create mode 100644 v3/ai03/lily/lily.json diff --git a/v3/ai03/lily/lily.json b/v3/ai03/lily/lily.json new file mode 100644 index 0000000000..9386c811d6 --- /dev/null +++ b/v3/ai03/lily/lily.json @@ -0,0 +1,336 @@ +{ + "name": "Lily", + "vendorId": "0xa103", + "productId": "0x0026", + "matrix": { + "rows": 5, + "cols": 14 + }, + "menus": [ + { + "label": "Indicators", + "content": [ + { + "label": "Left indicator", + "content": [ + { + "label": "Enable Left Indicator", + "type": "toggle", + "content": ["id_ind1_enabled", 0, 1] + }, + { + "showIf": "{id_ind1_enabled} == 1", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [0, 255], + "content": ["id_ind1_brightness", 0, 2] + }, + { + "label": "Color", + "type": "color", + "content": ["id_ind1_color", 0, 3] + }, + { + "label": "Function 1", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind1_func1", 0, 4] + }, + { + "label": "Function 2", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind1_func2", 0, 5] + } + ] + } + ] + }, + { + "label": "Central indicator", + "content": [ + { + "label": "Enable Central Indicator", + "type": "toggle", + "content": ["id_ind2_enabled", 0, 6] + }, + { + "showIf": "{id_ind2_enabled} == 1", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [0, 255], + "content": ["id_ind2_brightness", 0, 7] + }, + { + "label": "Color", + "type": "color", + "content": ["id_ind2_color", 0, 8] + }, + { + "label": "Function 1", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind2_func1", 0, 9] + }, + { + "label": "Function 2", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind2_func2", 0, 10] + } + ] + } + ] + }, + { + "label": "Right indicator", + "content": [ + { + "label": "Enable Right Indicator", + "type": "toggle", + "content": ["id_ind3_enabled", 0, 11] + }, + { + "showIf": "{id_ind3_enabled} == 1", + "content": [ + { + "label": "Brightness", + "type": "range", + "options": [0, 255], + "content": ["id_ind3_brightness", 0, 12] + }, + { + "label": "Color", + "type": "color", + "content": ["id_ind3_color", 0, 13] + }, + { + "label": "Function 1", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind3_func1", 0, 14] + }, + { + "label": "Function 2", + "type": "dropdown", + "options": [ + "None", + "Caps Lock", + "Num Lock", + "Scroll Lock", + "Layer 0", + "Layer 1", + "Layer 2", + "Layer 3" + ], + "content": ["id_ind3_func2", 0, 15] + } + ] + } + ] + } + ] + } + ], + "layouts": { + "labels": ["Unified Backspace", "Split Spacebar"], + "keymap": [ + [ + { + "x": 13, + "c": "#aaaaaa", + "w": 2 + }, + "0,13\n\n\n0,1" + ], + [ + { + "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", + "0,13\n\n\n0,0", + { + "c": "#aaaaaa" + }, + "2,12\n\n\n0,0" + ], + [ + { + "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,13" + ], + [ + { + "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,13" + ], + [ + { + "c": "#aaaaaa", + "w": 2.25 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "c": "#aaaaaa", + "w": 1.75 + }, + "3,12", + "3,13" + ], + [ + { + "x": 1.5 + }, + "4,1", + { + "w": 1.5 + }, + "4,2", + { + "c": "#cccccc", + "w": 7 + }, + "4,7\n\n\n1,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11", + "4,12" + ], + [ + { + "y": 0.25, + "x": 4, + "c": "#cccccc", + "w": 3 + }, + "4,5\n\n\n1,1", + "4,7\n\n\n1,1", + { + "w": 3 + }, + "4,9\n\n\n1,1" + ] + ] + } +}