{{newinoldin|[[0.5.0]]|050|[[0.9.0]]|090|type=function|text=It has been renamed to [[love.joystick.getJoystickCount]]}}

Returns how many joysticks are available.
== Function ==
=== Synopsis ===
<source lang="lua">
joysticks = love.joystick.getNumJoysticks( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|joysticks|The number of joysticks available}}
== See Also ==
* [[parent::love.joystick]]
[[Category:Functions]]
{{#set:Description=Returns how many joysticks are available.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|love.joystick.getNumJoysticks}}