Event.JoystickButtonEvent

Joystick buttons events parameters (JoystickButtonPressed, JoystickButtonReleased)

struct Event
struct JoystickButtonEvent {}

Members

Variables

button
uint button;

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

joystickId
uint joystickId;

Index of the joystick (in range [0 .. Joystick::Count - 1])

Meta