Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_JoystickIndex(3) SDL API Reference SDL_JoystickIndex(3)

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
Tue 11 Sep 2001, 23:00 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org