[][src]Function sdl2_sys::SDL_JoystickGetAxisInitialState

pub unsafe extern "C" fn SDL_JoystickGetAxisInitialState(
    joystick: *mut SDL_Joystick,
    axis: c_int,
    state: *mut Sint16
) -> SDL_bool

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.

\return SDL_TRUE if this axis has any initial value, or SDL_FALSE if not.