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_downandto.haltin order to define fallback behavior.
Example
The following json changes holding tab key to mute.
{
"description": "Mute when tab is held down",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "tab" },
"to_after_key_up": [{ "key_code": "tab" }],
"to_if_held_down": [
{
"consumer_key_code": "mute",
"halt": true
}
]
}
]
}