[−][src]Function sdl2_sys::SDL_JoystickGetAxis
pub unsafe extern "C" fn SDL_JoystickGetAxis(
joystick: *mut SDL_Joystick,
axis: c_int
) -> Sint16
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.