Events
1.3
Event.KeyPressed
The
KeyPressed
block defines the event generated by pressing of the defined key or
any key from the defined group.
Parameters
Key
Define the key or a key group. If this parameter is not completed, the event is
generated upon pressing of any key (default value: any).
Valid values:
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
*
,
#
for numerical keypad buttons
%1
,
%2
, ..,
%54
for quick dial buttons
any
for any button (default value).
Separate the values with a comma while defining more keys than one.
SuppressTones
Suppress sound signalling initiated by pressing of a non-programmed quick dial
button. The parameter is optional.
Valid values:
0
– tones are not suppressed
1
– tones are suppressed (default value)
Variables
Key
Detected code of the key which was the last to generate this event. The key code
is stored in the Key parameter format.
Example
Event generated by pressing of # and quick dial button 3 or 4:
Action.KeyPressed: Key=#, %3, %4