| SDL_GetJoystickFromPlayerIndex(3) | SDL3 FUNCTIONS | SDL_GetJoystickFromPlayerIndex(3) |
SDL_GetJoystickFromPlayerIndex - Get the SDL_Joystick
associated with a player index.
Defined in SDL3/SDL_joystick.h
#include "SDL3/SDL.h"
SDL_Joystick * SDL_GetJoystickFromPlayerIndex(int player_index);
( SDL_Joystick
*) Returns an SDL_Joystick
on success or NULL on failure; call SDL_GetError () for more
information.
This function is available since SDL 3.2.0.
•(3), SDL_GetJoystickPlayerIndex(3), •(3), SDL_SetJoystickPlayerIndex(3)
| SDL 3.2.10 | Simple Directmedia Layer |