Method SDL.Joystick()->num_hats() class SDL.Joystick Method num_hats int num_hats() Returns The number of hats available for this joystick.