Merge pull request #68 from avianto/getawayvan

Add support to multiple layouts
This commit is contained in:
xyzz 2021-11-02 18:45:36 -04:00 committed by GitHub
commit 38141361b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,187 @@
{
"name": "Getaway Van",
"vendorId": "0xE5CA",
"productId": "0x0401",
"lighting": "vialrgb",
"matrix": {
"rows": 4,
"cols": 12
},
"layouts": {
"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",{"c":"#aaaaaa","w":1.75},"0,11"],
[{"w":1.25},"1,0",{"c":"#cccccc"},"1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9","1,10",{"c":"#aaaaaa","w":1.5},"1,11"],
[{"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",{"c":"#aaaaaa"},"2,11"],
["3,0",{"w":1.25},"3,1","3,2",{"c":"#777777","w":2.75},"3,4",{"c":"#aaaaaa","w":2.25},"3,6",{"w":1.5},"3,8","3,9","3,10","3,11"]
]}
}
"name": "Getaway Van",
"vendorId": "0xE5CA",
"productId": "0x0401",
"lighting": "vialrgb",
"matrix": {
"rows": 4,
"cols": 12
},
"layouts": {
"labels":[
"Split Left Shift",
[
"Bottom Row",
"Split Spacebar",
"6.25u Spacebar",
"Split Spacebar Full",
"7u Spacebar/HHKB"
]
],
"keymap": [
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
{
"w": 1.75
},
"0,11"
],
[
{
"w": 1.25
},
"1,0",
"1,1",
"1,2",
"1,3",
{
"n": true
},
"1,4",
"1,5",
"1,6",
{
"n": true
},
"1,7",
"1,8",
"1,9",
"1,10",
{
"w": 1.5
},
"1,11"
],
[
{
"w": 1.75
},
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
{
"c": "#abc6dc"
},
"2,10\n\n\n0,0",
"2,11\n\n\n0,0",
{
"x": 0.25,
"w": 2
},
"2,11\n\n\n0,1"
],
[
{
"c": "#69d0a5"
},
"3,0\n\n\n1,0",
{
"w": 1.25
},
"3,1\n\n\n1,0",
"3,2\n\n\n1,0",
{
"w": 2.75
},
"3,4\n\n\n1,0",
{
"w": 2.25
},
"3,6\n\n\n1,0",
{
"w": 1.25
},
"3,8\n\n\n1,0",
{
"x": 0.25
},
"3,9\n\n\n1,0",
"3,10\n\n\n1,0",
"3,11\n\n\n1,0"
],
[
{
"y": 0.25
},
"3,0\n\n\n1,1",
{
"w": 1.25
},
"3,1\n\n\n1,1",
"3,2\n\n\n1,1",
{
"w": 6.25
},
"3,6\n\n\n1,1",
{
"x": 0.25
},
"3,9\n\n\n1,1",
"3,10\n\n\n1,1",
"3,11\n\n\n1,1"
],
[
{
"y": 0.25
},
"3,0\n\n\n1,2",
{
"w": 1.25
},
"3,1\n\n\n1,2",
"3,2\n\n\n1,2",
{
"w": 2.75
},
"3,4\n\n\n1,2",
{
"w": 2.25
},
"3,6\n\n\n1,2",
{
"w": 1.5
},
"3,8\n\n\n1,2",
"3,9\n\n\n1,2",
"3,10\n\n\n1,2",
"3,11\n\n\n1,2"
],
[
{
"y": 0.25,
"x": 0.35
},
"3,0\n\n\n1,3",
{
"w": 1.5
},
"3,1\n\n\n1,3",
{
"w": 7
},
"3,6\n\n\n1,3",
{
"w": 1.5
},
"3,9\n\n\n1,3",
"3,11\n\n\n1,3"
]
]}
}