{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[love.joystick.getNumJoysticks]]}}

Gets the number of connected joysticks.
== Function ==
=== Synopsis ===
<source lang="lua">
joystickcount = love.joystick.getJoystickCount( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|joystickcount|The number of connected joysticks.}}
== See Also ==
* [[parent::love.joystick]]
* [[love.joystick.getJoysticks]]
[[Category:Functions]]
{{#set:Description=Gets the number of connected joysticks.}}
== Other Languages ==
{{i18n|love.joystick.getJoystickCount}}