key (up/down) (<key>)
Triggers when a windows computer key has been pressed down or lifted up.
Parameters:
- The type of key action, such as down or up.
- The key that was modified.
Variable map:
- action: The type of key action, such as down or up.
- key: The key that was modified.
- pressedkeys: A list of keys that are currently pressed down.