Function sdl2_sys::SDL_JoystickFromInstanceID
source ยท pub unsafe extern "C" fn SDL_JoystickFromInstanceID(
instance_id: SDL_JoystickID,
) -> *mut SDL_Joystick
Expand description
Get the SDL_Joystick associated with an instance id.
\param instance_id the instance id to get the SDL_Joystick for \returns an SDL_Joystick on success or NULL on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.4.