GNOME Bugzilla – Bug 575768
GTK+ should handle hotplug of XInput devices
Last modified: 2010-08-11 04:02:47 UTC
As mentioned in bug 575767, wacom tablets can be added on-the-fly. GIMP needs to be restarted to take advantage of newly plugged in devices.
Device hotplug needs to be handled at the GDK level. GTK+ should provide signals when new devices are added or removed.
Peter has a patch showing how to detect devices being added/removed: http://people.freedesktop.org/~whot/patches/presence.c
I'm planning to work on this as part of MPX/XI2 support, I've got some more info in http://live.gnome.org/GTK+/MPX/
I've just opened bug #596725 to track the XInput2 changes, as this feature is already available in the xi2 branch, I'll mark this bug as depending on that one