Tao.Sdl SDK Documentation

Sdl.SDL_NumJoysticks Method 

Count the number of joysticks attached to the system.

[Visual Basic]
Public Shared Function SDL_NumJoysticks() As Integer
[C#]
public static int SDL_NumJoysticks();

Return Value

Returns the number of attached joysticks

Remarks

Counts the number of joysticks attached to the system.

Binds to C-function in SDL_joystick.h

int SDL_NumJoysticks(void)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_JoystickName | SDL_JoystickOpen