love.joystick.getHat
Removed in LÖVE 0.9.0 |
It has been moved to Joystick:getHat. |
Returns the direction of a hat.
Function
Synopsis
direction = love.joystick.getHat( joystick, hat )
Arguments
Returns
-
JoystickConstant direction
- The direction the hat is pushed
See Also
Category: