Difference between revisions of "love.joystick.getNumJoysticks"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns how many joysticks are available.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.joystick]]
 
* [[parent::love.joystick]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns how many joysticks are available.}}

Revision as of 16:17, 14 February 2010

Returns how many joysticks are available.

Function

Synopsis

joysticks = love.joystick.getNumJoysticks( )

Arguments

None.

Returns

number joysticks
The number of joysticks available

See Also