new KeyEvent(templateopt)
A granular description of an extracted key event, including a human-readable
text representation of the event, whether the event is directly typed or not,
and the timestamp when the event occured.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
template |
Guacamole.KeyEventInterpreter.KeyEvent | object |
<optional> |
{} | The object whose properties should be copied within the new KeyEvent. |
Members
(non-null) definition :Guacamole.KeyEventInterpreter.KeyDefinition
The key definition for the pressed key.
Type:
(non-null) pressed :boolean
True if the key was pressed to create this event, or false if it was
released.
Type:
- boolean
(non-null) timestamp :Number
The timestamp from the recording when this event occured.
Type:
- Number