love.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
Returns the direction of a hat.
direction = love.joystick.getHat( joystick, hat )
JoystickConstant direction