Difference between revisions of "love.joystick.getAxes"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the position of each axis.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 15:
 
* [[parent::love.joystick]]
 
* [[parent::love.joystick]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the position of each axis.}}

Revision as of 16:17, 14 February 2010

Returns the position of each axis.

Function

Synopsis

axisDir1, axisDir2, axisDirN = love.joystick.getAxes( )

Arguments

None.

Returns

number axisDir1
Direction of axis1
number axisDir2
Direction of axis2
number axisDirN
Direction of axisN

See Also