On KEYDOWN » History » Revision 3
Added in 1.9.2
Trigger when a user presses a key in a window, can be used to override built-in key-binds.
<level> - The level for the event to trigger.
<*#?=!@> - The Matchtarget to listen to.
<key,...,keyN> - The $keyval to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.
on *:KEYDOWN:*:*:echo -ag Pressed key $keyval in $active