Difference between revisions of "love.joystick.getAxis"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

Returns the direction of the axis.

Function

Synopsis

direction = love.joystick.getAxis( joystick, axis )

Arguments

number joystick
The joystick to be checked
number axis
The axis to be checked

Returns

number direction
Current value of the axis

See Also