Use arrays instead of object properties wherever possible.
This commit is contained in:
+71
-55
@@ -1,74 +1,90 @@
|
|||||||
{
|
{
|
||||||
"hardwareId": "UHK60",
|
"hardwareId": "UHK60",
|
||||||
"dataModelVersion": 0,
|
"dataModelVersion": 0,
|
||||||
"moduleConfigurations": {
|
"moduleConfigurations": [
|
||||||
"keyClusterLeft": {
|
{
|
||||||
|
"moduleName": "keyClusterLeft",
|
||||||
"acceleration": 5,
|
"acceleration": 5,
|
||||||
"maxSpeed": 200
|
"maxSpeed": 200
|
||||||
}
|
}
|
||||||
},
|
],
|
||||||
"keymaps": {
|
"keymaps": [
|
||||||
"QWERTY": {
|
{
|
||||||
|
"name": "QWERTY",
|
||||||
"isDefault": true,
|
"isDefault": true,
|
||||||
"abbreviation": "QTY",
|
"abbreviation": "QTY",
|
||||||
"modules": {
|
"modules": [
|
||||||
"uhkLeft": {
|
{
|
||||||
"baseLayer": {
|
"name": "uhkLeft",
|
||||||
"pointerRole": "move",
|
"layers": [
|
||||||
"keyActions": [
|
{
|
||||||
{
|
"pointerRole": "move",
|
||||||
"actionType": "key",
|
"keyActions": [
|
||||||
"scancode": 120,
|
{
|
||||||
"modifierMask": 16
|
"actionType": "key",
|
||||||
},
|
"scancode": 120,
|
||||||
{
|
"modifierMask": 16
|
||||||
"actionType": "dualRoleKey",
|
},
|
||||||
"scancode": 111,
|
{
|
||||||
"longPressAction": "mod"
|
"actionType": "dualRoleKey",
|
||||||
},
|
"scancode": 111,
|
||||||
{
|
"longPressAction": "mod"
|
||||||
"actionType": "mouse",
|
},
|
||||||
"mouseAction": "scrollDown"
|
{
|
||||||
},
|
"actionType": "mouse",
|
||||||
{
|
"mouseAction": "scrollDown"
|
||||||
"actionType": "playMacro",
|
},
|
||||||
"macro": "My address"
|
{
|
||||||
},
|
"actionType": "playMacro",
|
||||||
{
|
"macro": "My address"
|
||||||
"actionType": "switchKeymap",
|
},
|
||||||
"keymap": "Dvorak"
|
{
|
||||||
}
|
"actionType": "switchKeymap",
|
||||||
]
|
"keymap": "Dvorak"
|
||||||
},
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "uhkRight"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "keyClusterLeft",
|
||||||
|
"layers": [
|
||||||
|
{
|
||||||
|
"pointerRole": "scroll",
|
||||||
|
"keyActions": []
|
||||||
|
}
|
||||||
|
],
|
||||||
"modLayer": {},
|
"modLayer": {},
|
||||||
"fnLayer": {},
|
"fnLayer": {},
|
||||||
"mouseLayer": {}
|
"mouseLayer": {}
|
||||||
},
|
},
|
||||||
"uhkRight": {},
|
{
|
||||||
"keyClusterLeft": {
|
"name": "trackballRight",
|
||||||
"baseLayer": {
|
"layers": [
|
||||||
"pointerRole": "scroll",
|
{
|
||||||
"keyActions": []
|
"pointerRole": "move",
|
||||||
},
|
"keyActions": []
|
||||||
"modLayer": {},
|
}
|
||||||
"fnLayer": {},
|
],
|
||||||
"mouseLayer": {}
|
|
||||||
},
|
|
||||||
"trackballRight": {
|
|
||||||
"baseLayer": {
|
|
||||||
"pointerRole": "move",
|
|
||||||
"keyActions": []
|
|
||||||
},
|
|
||||||
"modLayer": {},
|
"modLayer": {},
|
||||||
"fnLayer": {},
|
"fnLayer": {},
|
||||||
"mouseLayer": {}
|
"mouseLayer": {}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
},
|
},
|
||||||
"Dvorak": {}
|
{
|
||||||
},
|
"name": "Dvorak"
|
||||||
"macros": {
|
}
|
||||||
"My address": {
|
],
|
||||||
|
"macros": [
|
||||||
|
{
|
||||||
|
"name": "My address",
|
||||||
"isPrivate": true,
|
"isPrivate": true,
|
||||||
"isLooped": false,
|
"isLooped": false,
|
||||||
"macroActions": [
|
"macroActions": [
|
||||||
@@ -128,5 +144,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user