Function
love.joystick.getHat( joystick, hat )
Returns the direction of a hat.
Synopsis
direction = love.joystick.getHat( joystick, hat )
Parameters
joystick number The joystick to be checked
hat number The hat to be checked
Returns
direction JoystickConstant The direction the hat is pushed
Copyright © 2006-2010 LÖVE Development Team.