numHats property

int numHats

Get the number of hats for this joystick.

SDL Docs

Implementation

int get numHats => sdl.checkReturnValue(sdl.sdl.SDL_JoystickNumHats(handle));