xfce4-mouse-settings shows not only my actual pointer devices, but also the "Virtual core XTEST pointer", and what's worse, as the first entry. Changes to this don't have any apparent effect, so this is just confusing. This should be filtered out, I'll have a look at this now. (This is both with 4.6.4 and git head)
Ah, http://www.x.org/docs/Xext/xtest.pdf describes what these XTEST pointer/keyboard devices are for (noninteractive automatic testing), so IMHO these shouldn't be touched by GUI config programs at all.
Unfortunately neither http://www.xfree86.org/current/XFreeDeviceList.3.html nor X11/extensions/XI.h specify a special type to identify XTEST devices, so I'm afraid whe have to do string based matching against the name.
Created attachment 3142 Ignore virtual XTEST mouse
I'm ok with string matching if there is nothing else. Nick, you wrote the mouse code, can you confirm we can't do this in a cleaner way?
We could use g_str_has_prefix too since that has null checks, but apart from that fine with me. Also drop the tab indent when committing the patch.
Created attachment 3143 Ignore virtual XTEST mouse Yup, that makes sense. Fixed patch attached, still works fine.
Pushed to git master, thanks a lot for your contribution.