Keyboard instance for input in sync with the running application.
Optional
Key press actions. Key actions are stored in pairs.
The size of the actions array is expected to be even.
DOM element where the keyboard events are attached.
Event manager object to create and manage the key press events.
Keys pressed.
Dispose keyboard events.
Create the required key press events.
Check is a key as just pressed.
Which key to check.
Check if a key was just released.
Check if a key is pressed.
Reset keyboard status to default.
Does not clean the action list.
Update key flags synchronously.
Keyboard instance for input in sync with the running application.