Enum holds the index in the gamepad buttons array for standard playstation controller buttons
// Get the button state for the Cross/X button of the first connected gamepad:navigator.getGamepads()[0].buttons[playStationButtonMap.Cross] Copy
// Get the button state for the Cross/X button of the first connected gamepad:navigator.getGamepads()[0].buttons[playStationButtonMap.Cross]
Enum holds the index in the gamepad buttons array for standard playstation controller buttons
Example