Function sdl2_sys::SDL_GameControllerGetType
source ยท pub unsafe extern "C" fn SDL_GameControllerGetType(
gamecontroller: *mut SDL_GameController,
) -> SDL_GameControllerType
Expand description
Get the type of this currently opened controller
This is the same name as returned by SDL_GameControllerTypeForIndex(), but it takes a controller identifier instead of the (unstable) device index.
\param gamecontroller the game controller object to query. \returns the controller type.
\since This function is available since SDL 2.0.12.