Get the SDL_Gamepad associated with a player index.
Defined in <SDL3/SDL_gamepad.h>
int player_index); SDL_Gamepad * SDL_GetGamepadFromPlayerIndex(
int | player_index | the player index, which different from the instance ID. |
(SDL_Gamepad *) Returns the SDL_Gamepad associated with a player index.
This function is available since SDL 3.1.3.