-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2403 from Cipulot/add_lily
Add Lily
- Loading branch information
Showing
1 changed file
with
336 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
] | ||
} | ||
} |