# File lib/rubygame/joystick.rb, line 171
  def hats
    SDL.JoystickNumHats( @struct )
  end