Event.JoystickMoveEvent

Joystick connection events parameters (JoystickConnected, JoystickDisconnected)

struct Event
struct JoystickMoveEvent {}

Members

Variables

axis
int axis;

Axis on which the joystick moved

joystickId
uint joystickId;

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

position
float position;

New position on the axis (in range [-100 .. 100])

Meta