diff options
author | Ping Cheng <pingc@wacom.com> | 2010-03-29 10:00:05 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-20 14:28:54 +1000 |
commit | 11b969c81cf2bd1f455f31ea9fdcb5f075d17e60 (patch) | |
tree | b17c464a0b3852f80fd082259fd8bb695dfae4b1 | |
parent | c19873aee1998845df017a58f2772f3bb02a5898 (diff) | |
download | xf86-input-wacom-11b969c81cf2bd1f455f31ea9fdcb5f075d17e60.tar.gz |
TPCButton is on by default for ISDV4 devices
The recent updates for ISDV4.c missed this bit.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/wcmISDV4.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c index eeb348e..91f40d4 100644 --- a/src/wcmISDV4.c +++ b/src/wcmISDV4.c @@ -172,6 +172,13 @@ static Bool isdv4Init(LocalDevicePtr local, char* id, float *version) /*set the model */ common->wcmModel = &isdv4General; + /* Tablet PC Button is on by default */ + common->wcmTPCButtonDefault = 1; + + /* check if TPCButton was turned off by user for stylus */ + if (priv->flags & STYLUS_ID) + common->wcmTPCButton = xf86SetBoolOption(local->options, + "TPCButton", common->wcmTPCButtonDefault); return Success; } |