phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias Input

    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.

    type Input = {
        gamepads: boolean;
        mspointer: boolean;
        touch: boolean;
        wheelType: string | null;
    }
    Index

    Properties

    gamepads: boolean

    Is navigator.getGamepads available?

    mspointer: boolean

    Is mspointer available?

    touch: boolean

    Is touch available?

    wheelType: string | null

    The newest type of Wheel/Scroll event supported: 'wheel', 'mousewheel', 'DOMMouseScroll'