[][src]Function sdl2_sys::SDL_GameControllerGetPlayerIndex

pub unsafe extern "C" fn SDL_GameControllerGetPlayerIndex(
    gamecontroller: *mut SDL_GameController
) -> c_int

Get the player index of an opened game controller, or -1 if it's not available

For XInput controllers this returns the XInput user index.