Joystick:getAxes
Gets the direction of each axis.
axisDir1, axisDir2, axisDirN = Joystick:getAxes()
axisDir1 number Direction of axis1.
axisDir2 number Direction of axis2.
axisDirN number Direction of axisN.