Static
MOUSE_Static
MOUSE_Static
MOUSE_Static
MOUSE_Static
MOUSE_Static
MOUSE_Should be called whenever a key is pressed. The location corresponds to KeyboardEvent.location, which should be 0 for standard keys, 1 for left keys, 2 for right keys, and 3 for numpad keys.
The raw key code associated to the key press.
Optional
location: numberThe location of the event.
Should be called whenever a key is released. The location corresponds to KeyboardEvent.location, which should be 0 for standard keys, 1 for left keys, 2 for right keys, and 3 for numpad keys.
The raw key code associated to the key release.
Optional
location: numberThe location of the event.
Private
get
Store input made on a canvas: mouse position, key pressed and touches states.