get_axis_status

Description

Returns the state of a controller axis per AxisState class.

Signature

get_axis_status(self, axis: int) -> int

Parameters

axis: int

The axis to be queried, [0, 7].

Returns

int

The state of the axis, int corresponding to the enumeration in the AxisState class.