Function
love.joystick.getAxis( joystick, axis )
Returns the direction of the axis.
Synopsis
direction = love.joystick.getAxis( joystick, axis )
Parameters
joystick number The joystick to be checked
axis number The axis to be checked
Returns
direction number Current value of the axis
Copyright © 2006-2010 LÖVE Development Team.