SDL_JoystickIndex (3) Linux Manual Page
SDL_JoystickIndex – Get the index of an SDL_Joystick.
Synopsis
#include "SDL.h" int SDL_JoystickIndex(SDL_Joystick *joystick);
SDL_JoystickIndex – Get the index of an SDL_Joystick.
int SDL_JoystickIndex(SDL_Joystick *joystick);