JoystickAxisEvent

The Joystick axis motion Event structure

struct JoystickAxisEvent {}

Members

Variables

axis
ubyte axis;

The index of the axis that changed Typically 0 is the x axis, 1 is the y axis etc.

value
short value;

The current position of the axis (range: -32768 to 32767)

which
int which;

The instance id of the joystick which reported the event

Meta