Get the SDL_Gamepad associated with a player index.
SDL_Gamepad* SDL_GetGamepadFromPlayerIndex(int player_index);
Returns the SDL_Gamepad associated with a player index.
This function is available since SDL 3.0.0.
CategoryAPI