pressure pen / tablet devices aren't enumerated
Submitted by yzh..@..il.com
Assigned to gtk-win32 maintainers
Created attachment 342570 split from 776568
I'm an Inkscape user who uses a Wacom AES pressure pen on a Lenovo P40 (and hopefully touchscreen as well - see bug 776568). Inkscape recently switched from GTK2 to GTK3 and the tablet devices are no longer work or are shown in the GUI.
I traced the problem and found for GTK3, Inkscape calls gdk_seat_get_slaves() instead of gdk_device_managers_list_devices().
It seems the calls in the wintab to associate master and slave devices are wrong. Also, making the device as GDK_DEVICE_TYPE_FLOATING also causes gdk_seat_get_slaves to not return anything. As far as I can tell, the pen isn't floating because it clearly moves the mouse cursor - after using the pen and switching to mouse, the cursor is where the pen last was.
Can someone review this patch and check in? thanks, -Yale
Patch 342570, "split from 776568":