buttons

The buttons read-only property of the Gamepad interface returns an array of GamepadButton objects representing the buttons present on the device.

MDN Reference