Ported Jason Childs linuxwacom patch to xf86-input-wacom. Bamboo P & T's have capacitive touch and should be defaulting to 3. This change stops unwanted button click when touching pad.
Signed-off-by: Chris Bagwell <[email protected]> --- src/wcmValidateDevice.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index 8a47659..a4fa21f 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -633,6 +633,16 @@ int wcmParseOptions(LocalDevicePtr local, unsigned long* keys) common->wcmGestureDefault = 1; } + /* Bamboo P&T Capacity defaults to 3 */ + if ((common->tablet_id >= 0xd0) && (common->tablet_id <= 0xd3)) + { + + /* Capacity is off for all devices except on + * Bamboo Pen & Touch devices + */ + common->wcmCapacityDefault = 3; + } + /* check if touch was turned off in xorg.conf */ common->wcmTouch = xf86SetBoolOption(local->options, "Touch", common->wcmTouchDefault); -- 1.6.5.2
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
