SDL_GetGamepadFromPlayerIndex

Get the SDL_Gamepad associated with a player index.

extern (C) nothrow @nogc extern
SDL_GetGamepadFromPlayerIndex

Parameters

player_index int

the player index, which different from the instance ID.

Return Value

The SDL_Gamepad associated with a player index.

See Also

Meta