Function SDL_GameControllerFromInstanceID
pub unsafe extern "C" fn SDL_GameControllerFromInstanceID(
joyid: i32,
) -> *mut _SDL_GameController
Available on crate feature
dep_sdl2
only.Expand description
Get the SDL_GameController associated with an instance id.
\param joyid the instance id to get the SDL_GameController for \returns an SDL_GameController on success or NULL on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.4.