convert
Converts a DOM KeyboardEvent to a ZKeyboardEvent.
Return
A ZKeyboardEvent with key information and modifiers
Parameters
event
The DOM KeyboardEvent to convert
type
The type of keyboard event (KEY_DOWN, KEY_UP, KEY_PRESS)
Converts a DOM KeyboardEvent to a ZKeyboardEvent.
A ZKeyboardEvent with key information and modifiers
The DOM KeyboardEvent to convert
The type of keyboard event (KEY_DOWN, KEY_UP, KEY_PRESS)