{{newin|[[0.9.0]]|090|type=function}}
Called when a [[Joystick]] is connected.
== Function ==
=== Synopsis ===
<source lang="lua">
love.joystickadded( joystick )
</source>
=== Arguments ===
{{param|Joystick|joystick|The newly connected Joystick object.}}
=== Returns ===
Nothing.

== Notes ==
This callback is also triggered after [[love.load]] for every Joystick which was already connected when the game started up.

== See Also ==
* [[parent::love]]
* [[parent::love.joystick]]
* [[love.joystickremoved]]
* [[Joystick:isConnected]]
[[Category:Callbacks]]
{{#set:Description=Called when a [[Joystick]] is connected.}}
{{#set:Subcategory=Joystick}}
== Other Languages ==
{{i18n|love.joystickadded}}