It takes Clutter input devices now, not device IDs. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760