Phaser API Documentation

  Version: 
index: number

Description:

An integer that is unique for each Gamepad currently connected to the system. This can be used to distinguish multiple controllers. Note that disconnecting a device and then connecting a new device may reuse the previous index.

Type:
number
Since: 3.0.0