Difference between revisions of "Joystick:getAxisCount"

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

Latest revision as of 21:42, 26 August 2013

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


Gets the number of axes on the joystick.

Function

Synopsis

axes = Joystick:getAxisCount( )

Arguments

None.

Returns

number axes
The number of axes available.

See Also

Other Languages