ControllerAxisEvent

The Game Controller axis Event structure

Members

Variables

axis
GameController.Axis 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