Function sdl2_sys::SDL_GameControllerSetPlayerIndex
source · pub unsafe extern "C" fn SDL_GameControllerSetPlayerIndex(
gamecontroller: *mut SDL_GameController,
player_index: c_int
)
Expand description
Set the player index of an opened game controller.
\param gamecontroller the game controller object to adjust. \param player_index Player index to assign to this controller.
\since This function is available since SDL 2.0.12.