Difference between revisions of "love.joystick.getAxis"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 
 
Returns the direction of the axis.
 
Returns the direction of the axis.
 
== Function ==
 
== Function ==
Line 15: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the direction of the axis.}}
 
{{#set:Description=Returns the direction of the axis.}}
 +
== Other Languages ==
 +
{{i18n|love.joystick.getAxis}}

Revision as of 20:41, 18 November 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

Other Languages