SDL_JoystickIndex man page

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

Info

Tue 11 Sep 2001, 23:00 SDL SDL API Reference