love.joystick.getAxis

Revision as of 10:30, 25 March 2011 by Thelinx (Talk | contribs)

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


Other Languages

Personal tools