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(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.