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

    Type Alias InputConfig

    type InputConfig = {
        activePointers?: number;
        gamepad?: boolean | GamepadInputConfig;
        keyboard?: boolean | KeyboardInputConfig;
        mouse?: boolean | MouseInputConfig;
        smoothFactor?: number;
        touch?: boolean | TouchInputConfig;
        windowEvents?: boolean;
    }
    Index

    Properties

    activePointers?: number

    The maximum number of touch pointers. See Phaser.Input.InputManager#pointers.

    gamepad?: boolean | GamepadInputConfig

    Gamepad input configuration. true enables gamepad input.

    keyboard?: boolean | KeyboardInputConfig

    Keyboard input configuration. true uses the default configuration and false disables keyboard input.

    mouse?: boolean | MouseInputConfig

    Mouse input configuration. true uses the default configuration and false disables mouse input.

    smoothFactor?: number

    The smoothing factor to apply during Pointer movement. See Phaser.Input.Pointer#smoothFactor.

    touch?: boolean | TouchInputConfig

    Touch input configuration. true uses the default configuration and false disables touch input.

    windowEvents?: boolean

    Should Phaser listen for input events on the Window? If you disable this, events like 'POINTER_UP_OUTSIDE' will no longer fire.