Enumeration playStationButtonMap

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]

Enumeration Members

Circle
Cross
DPadDown
DPadLeft
DPadRight
DPadUp
L1
L2
LStick
Options
PlayStation
R1
R2
RStick
Share
Square
Triangle