sdl_joystickindex(3) - Linux man page
Name
SDL_JoystickIndex - Get the index of an SDL_Joystick.Synopsis
#include "SDL.h"
int SDL_JoystickIndex(SDL_Joystick *joystick);
Description
Returns the index of a given SDL_Joystick structure.
Return Value
Index number of the joystick.
See Also
SDL_JoystickOpen