JoystickButtonEvent.button

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

struct JoystickButtonEvent
uint button;

Meta