numJoysticks property

int numJoysticks

Get the number of joysticks on the system.

SDL Docs

Implementation

int get numJoysticks => checkReturnValue(sdl.SDL_NumJoysticks());