Difference between revisions of "Joystick:getAxes"

(Created page)
 
m ('Returns' -> 'Gets')
 
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxes]]}}
 
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxes]]}}
Returns the direction of each axis.
+
Gets the direction of each axis.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 17: Line 17:
 
* [[Joystick:getAxisCount]]
 
* [[Joystick:getAxisCount]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the direction of each axis.}}
+
{{#set:Description=Gets the direction of each axis.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Joystick:getAxes}}
 
{{i18n|Joystick:getAxes}}

Latest revision as of 21:41, 26 August 2013

Available since LÖVE 0.9.0
It has been moved from love.joystick.getAxes.

Gets the direction of each axis.

Function

Synopsis

axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( )

Arguments

None.

Returns

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

See Also

Other Languages