Function sdl2_sys::SDL_GameControllerClose

source ยท
pub unsafe extern "C" fn SDL_GameControllerClose(
    gamecontroller: *mut SDL_GameController,
)
Expand description

Close a game controller previously opened with SDL_GameControllerOpen().

\param gamecontroller a game controller identifier previously returned by SDL_GameControllerOpen()

\since This function is available since SDL 2.0.0.

\sa SDL_GameControllerOpen