Key

key (up/down) (<key>)

Triggers when a windows computer key has been pressed down or lifted up.

Parameters:

  1. The type of key action, such as down or up.
  2. 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.