Function fermium::joystick::SDL_JoystickGetAxisInitialState
source · pub unsafe extern "C" fn SDL_JoystickGetAxisInitialState(
joystick: *mut SDL_Joystick,
axis: c_int,
state: *mut i16
) -> SDL_bool
Expand description
Get the initial state of an axis control on a joystick.
The state is a value ranging from -32768 to 32767.
The axis indices start at index 0.
Returns: SDL_TRUE
if this axis has any initial value, or SDL_FALSE
if not.