name | type | arguments | Default | description |
---|---|---|---|---|
keyboard | boolean | Phaser.Types.Core.KeyboardInputConfig | <optional> | true |
Keyboard input configuration. |
mouse | boolean | Phaser.Types.Core.MouseInputConfig | <optional> | true |
Mouse input configuration. |
touch | boolean | Phaser.Types.Core.TouchInputConfig | <optional> | true |
Touch input configuration. |
gamepad | boolean | Phaser.Types.Core.GamepadInputConfig | <optional> | false |
Gamepad input configuration. |
activePointers | number | <optional> | 1 |
The maximum number of touch pointers. See Phaser.Input.InputManager#pointers. |
smoothFactor | number | <optional> | 0 |
The smoothing factor to apply during Pointer movement. See Phaser.Input.Pointer#smoothFactor. |
windowEvents | boolean | <optional> | true |
Should Phaser listen for input events on the Window? If you disable this, events like 'POINTER_UP_OUTSIDE' will no longer fire. |