Gets the direction of the Joystick's hat.
direction = Joystick:getHat( hat )
number hat
JoystickHat direction