numBalls property

int numBalls

Get the number of balls for this joystick.

SDL Docs

Implementation

int get numBalls =>
    sdl.checkReturnValue(sdl.sdl.SDL_JoystickNumBalls(handle));