SDL_NumJoysticks — Count available joysticks.
#include "SDL.h"
int SDL_NumJoysticks(
void)
Counts the number of joysticks attached to the system.
Returns the number of attached joysticks
SDL_JoystickName(3), SDL_JoystickOpen(3)
(view this manual page's license and copyright)
(hide this manual page's license and copyright)
This manual page is taken from the SDL library, licensed under GNU LGPL.