pub unsafe extern "C" fn SDL_JoystickGetAxis(
    joystick: *mut SDL_Joystick,
    axis: c_int
) -> Sint16
Expand description

Get the current 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.