love.joystick.getAxis
Returns the direction of the axis.
Function
Synopsis
direction = love.joystick.getAxis( joystick, axis )
Arguments
Returns
number direction
- Current value of the axis
Returns the direction of the axis.
direction = love.joystick.getAxis( joystick, axis )
number direction