34dcf2f7b1
We can make things a bit fancier here and use a JS Set instead of an object for tracking which devices we're having a signal handler connected to. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2188>