Controller signals

Is there a signal that is emitted whenever a game controller is connected and disconnected to a device? Thank you for your help

joy_connection_changed(device: int, connected: bool)
Emitted when a joypad device has been connected or disconnected.

2 Likes

Thank you very much for pointing this out to me! this works as needed.