ExternalJoystickButtonEvent.button

Index of the button that has been pressed (in range [0 .. Joystick::ButtonCount - 1])

struct ExternalJoystickButtonEvent
uint button;

Meta