Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_NumJoysticks - Count available joysticks.

Description

       Counts the number of joysticks attached to the system.

Name

       SDL_NumJoysticks - Count available joysticks.

Return Value

       Returns the number of attached joysticks

See Also

SDL_JoystickName, SDL_JoystickOpen

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

Synopsis

#include"SDL.h"intSDL_NumJoysticks(void);

See Also