Function InputSingleton.joyConnectionChanged
Notifies the Input
singleton that a connection has changed, to update the state for the device
index.
This is used internally and should not have to be called from user scripts. See joyConnectionChanged
for the signal emitted when this is triggered internally.