logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_JoystickOpened - Determine if a joystick has been opened

Description

       Determines  whether  a  joystick has already been opened within the application. index refers to the N'th
       joystick on the system.

Name

       SDL_JoystickOpened - Determine if a joystick has been opened

Return Value

       Returns 1 if the joystick has been opened, or 0 if it has not.

See Also

SDL_JoystickOpen, SDL_JoystickClose

SDL                                          Tue 11 Sep 2001, 23:00                        SDL_JoystickOpened(3)

Synopsis

#include"SDL.h"intSDL_JoystickOpened(intindex);

See Also