This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki


Get the SDL_GameController associated with a player index.


SDL_GameController* SDL_GameControllerFromPlayerIndex(int player_index);

Function Parameters


the player index, which is not the device index or the instance id!

Return Value

Returns the SDL_GameController associated with a player index.


Please note that the player index is _not_ the device index, nor is it the instance id!


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.