Identify keymaps and macros by numeric IDs. Use keystroke naming instead of key.
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
],
|
],
|
||||||
"keymaps": [
|
"keymaps": [
|
||||||
{
|
{
|
||||||
|
"id": 0,
|
||||||
"name": "QWERTY",
|
"name": "QWERTY",
|
||||||
"isDefault": true,
|
"isDefault": true,
|
||||||
"abbreviation": "QTY",
|
"abbreviation": "QTY",
|
||||||
@@ -21,12 +22,15 @@
|
|||||||
"pointerRole": "move",
|
"pointerRole": "move",
|
||||||
"keyActions": [
|
"keyActions": [
|
||||||
{
|
{
|
||||||
"actionType": "key",
|
"actionType": "none"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"actionType": "keystroke",
|
||||||
"scancode": 120,
|
"scancode": 120,
|
||||||
"modifierMask": 16
|
"modifierMask": 16
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"actionType": "dualRoleKey",
|
"actionType": "dualRoleKeystroke",
|
||||||
"scancode": 111,
|
"scancode": 111,
|
||||||
"longPressAction": "mod"
|
"longPressAction": "mod"
|
||||||
},
|
},
|
||||||
@@ -36,11 +40,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"actionType": "playMacro",
|
"actionType": "playMacro",
|
||||||
"macro": "My address"
|
"macroId": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"actionType": "switchKeymap",
|
"actionType": "switchKeymap",
|
||||||
"keymap": "Dvorak"
|
"keymapId": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -79,11 +83,13 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"id": 1,
|
||||||
"name": "Dvorak"
|
"name": "Dvorak"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"macros": [
|
"macros": [
|
||||||
{
|
{
|
||||||
|
"id": 0,
|
||||||
"name": "My address",
|
"name": "My address",
|
||||||
"isPrivate": true,
|
"isPrivate": true,
|
||||||
"isLooped": false,
|
"isLooped": false,
|
||||||
@@ -145,4 +151,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user