Set focus only if canvas clicked like on default input or button. If [true] then you need to click on canvas before it will be focused. If [false] then you just need to move your cursor over canvas.
Functions which triggers if key pressed.
Functions which triggers if mouse button pressed.
Functions which triggers if mouse button pressed.
Rebind default key events
True if canvas focused.
True if keys pressed. False if not.
The time that the user must spend on a long press. A long press counts as a right mouse click.
True if mouse cursor over canvas element.
Adds handler which will execute on canvas blur.
Adds handler which will execute on canvas focus.
Sets mode when user need click to focus canvas
Rebind default browser shortcut actions on all page. By default rebind occurs only if canvas focused.
Lock pointer on canvas. Useful for FPS Games.
Sets function on right click for context menu.
Sets handler for keyboard key down.
Sets handler for mouse key down.
Sets handler for mouse moving.
Sets handler for mouse key down.
Rebind default browser shortcut actions. Will switch rebind option.
switch to
Set sensitivity for mouse movement
Generated using TypeDoc
Help class for creating user controls.