SDL_GetJoystickFromPlayerIndex

Get the SDL_Joystick associated with a player index.

extern (C) nothrow @nogc extern
SDL_GetJoystickFromPlayerIndex

Parameters

player_index int

the player index to get the SDL_Joystick for.

Return Value

An SDL_Joystick on success or NULL on failure; call SDL_GetError() for more information.

See Also

Meta