Determines the input support of the browser running this Phaser Game instance.
These values are read-only and populated during the boot sequence of the game.
They are then referenced by internal game systems and are available for you to access
via this.sys.game.device.input
from within any Scene.
name | type | description |
---|---|---|
wheelType | string |
The newest type of Wheel/Scroll event supported: 'wheel', 'mousewheel', 'DOMMouseScroll' |
gamepads | boolean |
Is navigator.getGamepads available? |
mspointer | boolean |
Is mspointer available? |
touch | boolean |
Is touch available? |