This is a re-submission of Ping's earlier touchswitch patches, updated to address the bug that I had discovered. Correctly associating the correct pen and touch "halves" of a single device under all conditions proved to be a bit more difficult than expected, so I've fixed it as best I can.
The revised code should work in all cases that worked before, but with fewer false-positives and false-negatives. The only tablet I'm aware of which still foils the scheme is the Cintiq Companion Hybrid, due to its EMR and MFT kernel devices having different names. If somebody is bored and familiar with libudev, they might be able to come up with something even more accurate. Jason Gerecke (2): Update wcmTouchDevice for touch interface Support hardware touch switch Ping Cheng (1): Improve wcmLinkTouchAndPen device matching include/wacom-properties.h | 3 + man/xsetwacom.man | 6 ++ src/wcmConfig.c | 177 +++++++++++++++++++++++++++++++-------------- src/wcmUSB.c | 37 ++++++++++ src/wcmXCommand.c | 69 ++++++++++++++++++ src/xf86Wacom.h | 4 + src/xf86WacomDefs.h | 3 + tools/xsetwacom.c | 11 ++- 8 files changed, 256 insertions(+), 54 deletions(-) -- 1.9.0 ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel