Add script to serialize the JSON configuration as binary.
This commit is contained in:
148
model/uhk-config.json
Normal file
148
model/uhk-config.json
Normal file
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"hardwareId": "UHK60",
|
||||
"dataModelVersion": 0,
|
||||
"moduleConfigurations": [
|
||||
{
|
||||
"moduleName": "keyClusterLeft",
|
||||
"acceleration": 5,
|
||||
"maxSpeed": 200
|
||||
}
|
||||
],
|
||||
"keymaps": [
|
||||
{
|
||||
"name": "QWERTY",
|
||||
"isDefault": true,
|
||||
"abbreviation": "QTY",
|
||||
"modules": [
|
||||
{
|
||||
"name": "uhkLeft",
|
||||
"layers": [
|
||||
{
|
||||
"pointerRole": "move",
|
||||
"keyActions": [
|
||||
{
|
||||
"actionType": "key",
|
||||
"scancode": 120,
|
||||
"modifierMask": 16
|
||||
},
|
||||
{
|
||||
"actionType": "dualRoleKey",
|
||||
"scancode": 111,
|
||||
"longPressAction": "mod"
|
||||
},
|
||||
{
|
||||
"actionType": "mouse",
|
||||
"mouseAction": "scrollDown"
|
||||
},
|
||||
{
|
||||
"actionType": "playMacro",
|
||||
"macro": "My address"
|
||||
},
|
||||
{
|
||||
"actionType": "switchKeymap",
|
||||
"keymap": "Dvorak"
|
||||
}
|
||||
]
|
||||
},
|
||||
{},
|
||||
{},
|
||||
{}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "uhkRight"
|
||||
},
|
||||
{
|
||||
"name": "keyClusterLeft",
|
||||
"layers": [
|
||||
{
|
||||
"pointerRole": "scroll",
|
||||
"keyActions": []
|
||||
}
|
||||
],
|
||||
"modLayer": {},
|
||||
"fnLayer": {},
|
||||
"mouseLayer": {}
|
||||
},
|
||||
{
|
||||
"name": "trackballRight",
|
||||
"layers": [
|
||||
{
|
||||
"pointerRole": "move",
|
||||
"keyActions": []
|
||||
}
|
||||
],
|
||||
"modLayer": {},
|
||||
"fnLayer": {},
|
||||
"mouseLayer": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Dvorak"
|
||||
}
|
||||
],
|
||||
"macros": [
|
||||
{
|
||||
"name": "My address",
|
||||
"isPrivate": true,
|
||||
"isLooped": false,
|
||||
"macroActions": [
|
||||
{
|
||||
"actionType": "pressKey",
|
||||
"scancode": 111
|
||||
},
|
||||
{
|
||||
"actionType": "holdKey",
|
||||
"scancode": 111
|
||||
},
|
||||
{
|
||||
"actionType": "releaseKey",
|
||||
"scancode": 111
|
||||
},
|
||||
{
|
||||
"actionType": "pressModifiers",
|
||||
"modifierMask": 111
|
||||
},
|
||||
{
|
||||
"actionType": "holdModifiers",
|
||||
"modifierMask": 111
|
||||
},
|
||||
{
|
||||
"actionType": "releaseModifiers",
|
||||
"modifierMask": 111
|
||||
},
|
||||
{
|
||||
"actionType": "pressMouseButtons",
|
||||
"mouseButtonsMask": 9
|
||||
},
|
||||
{
|
||||
"actionType": "holdMouseButtons",
|
||||
"mouseButtonsMask": 9
|
||||
},
|
||||
{
|
||||
"actionType": "releaseMouseButtons",
|
||||
"mouseButtonsMask": 9
|
||||
},
|
||||
{
|
||||
"actionType": "moveMouse",
|
||||
"x": 123,
|
||||
"y": 123
|
||||
},
|
||||
{
|
||||
"actionType": "scrollMouse",
|
||||
"x": 123,
|
||||
"y": 123
|
||||
},
|
||||
{
|
||||
"actionType": "delay",
|
||||
"delay": "1000"
|
||||
},
|
||||
{
|
||||
"actionType": "text",
|
||||
"text": "this is a text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user