pub unsafe extern "C" fn SDL_GameControllerGetPlayerIndex(
gamecontroller: *mut SDL_GameController,
) -> c_intExpand description
Get the player index of an opened game controller.
For XInput controllers this returns the XInput user index.
\param gamecontroller the game controller object to query. \returns the player index for controller, or -1 if it’s not available.
\since This function is available since SDL 2.0.9.