addKeyDownEvent
Adds a callback function that will be called if the keydown event occurs.
Signatures
- ParamateControls.<ControlName>.addKeyDownEvent( key, eventHandler )
Details
The function allows to add a user-defined handler that will be evoked on keydown event.
Parameters
- key
-
String or list of strings representing keyboard key(s).
- eventHandler
-
Function that will be called in case of an event.
Return value
none