Put module bindings inside of layers, not the other way around. Use IDs instead of strings for identifying modules. Update script.

This commit is contained in:
László Monda
2016-03-20 11:33:17 +01:00
parent 4199031111
commit 27e65b36e5
2 changed files with 43 additions and 39 deletions

View File

@@ -14,12 +14,14 @@
"name": "QWERTY",
"isDefault": true,
"abbreviation": "QTY",
"modules": [
"layers": [
{
"name": "uhkLeft",
"layers": [
"modules": [
{
"pointerRole": "move",
"id": 0,
"pointerRoles": [
"move"
],
"keyActions": [
{
"actionType": "none"
@@ -52,38 +54,28 @@
}
]
},
{},
{},
{}
{
"id": 1
},
{
"id": 2,
"pointerRoles": [
"scroll"
],
"keyActions": []
},
{
"id": 3,
"pointerRoles": [
"move"
],
"keyActions": []
}
]
},
{
"name": "uhkRight"
},
{
"name": "keyClusterLeft",
"layers": [
{
"pointerRole": "scroll",
"keyActions": []
}
],
"modLayer": {},
"fnLayer": {},
"mouseLayer": {}
},
{
"name": "trackballRight",
"layers": [
{
"pointerRole": "move",
"keyActions": []
}
],
"modLayer": {},
"fnLayer": {},
"mouseLayer": {}
}
{},
{},
{}
]
},
{