Skip to main content
Version: Phaser v4.0.0-rc.6

Types.Input.Gamepad

Pad

<static> Pad

The Gamepad object, as extracted from GamepadEvent.

nametypeoptionaldescription
idstringNoThe ID of the Gamepad.
indexnumberNoThe index of the Gamepad.

Type: object

Member of: Phaser.Types.Input.Gamepad

Source: src/input/gamepad/typedefs/Pad.js#L1
Since: 3.10.0