Difference between revisions of "Rasterizer:getHeight"

Line 5: Line 5:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
 +
{{newin|[[0.9.0]]|090|type=function|text=It has been moved from [[love.joystick.getAxes]]}}
 +
Gets the direction of each axis.
 +
== Function ==
 +
=== Synopsis ===
 +
<source lang="lua">
 +
axisDir1, axisDir2, ..., axisDirN = Joystick:getAxes( )
 +
</source>
 +
=== Arguments ===
 +
None.
 +
=== Returns ===
 +
{{param|number|axisDir1|Direction of axis1.}}
 +
{{param|number|axisDir2|Direction of axis2.}}
 +
{{param|number|axisDirN|Direction of axisN.}}
 +
 +
[[Category:Functions]]
 +
{{#set:Description=Gets the direction of each axis.}}
 +
== Other Languages ==
 +
{{i18n|Joystick:getAxes}}

Revision as of 13:59, 6 February 2017

TODO

See Also

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.

Other Languages