Function
love.joystick.getNumHats( joystick )
Returns the number of hats on the joystick.
Synopsis
hats = love.joystick.getNumHats( joystick )
Parameters
joystick number The joystick to be checked
Returns
hats number How many hats the joystick has
Copyright © 2006-2010 LÖVE Development Team.