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