Difference between revisions of "love.joystick.getJoystickCount"

(Created page)
 
m
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.joystick]]
 
* [[parent::love.joystick]]
 +
* [[love.joystick.getJoystick]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns how many joysticks are available.}}
 
{{#set:Description=Returns how many joysticks are available.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.joystick.getJoystickCount}}
 
{{i18n|love.joystick.getJoystickCount}}

Revision as of 18:29, 26 August 2013

Available since LÖVE 0.9.0
It has been renamed from love.joystick.getNumJoysticks.


Returns how many joysticks are available.

Function

Synopsis

joysticks = love.joystick.getJoystickCount( )

Arguments

None.

Returns

number joysticks
The number of joysticks available

See Also

Other Languages