to_after_key_up
to_after_key_up
posts events when the from
key is released.
Tip
to_after_key_up
is typically used to:
- Unset variables using
set_variable
- Used with
to_if_held_down
andto.halt
in order to define fallback behavior.
Example
The following json changes holding tab
key to mission_control
.
{
"type": "basic",
"from": {
"key_code": "tab"
},
"to_after_key_up": [
{
"key_code": "tab"
}
],
"to_if_held_down": [
{
"key_code": "mission_control",
"halt": true
}
]
}