SDL_JoystickIndex(3) SDL API Reference SDL_JoystickIndex(3)

SDL_JoystickIndex - Get the index of an SDL_Joystick.

#include "SDL.h"
int SDL_JoystickIndex(SDL_Joystick *joystick);

Returns the index of a given SDL_Joystick structure.

Index number of the joystick.

SDL_JoystickOpen
Tue 11 Sep 2001, 23:00 SDL