The driver apparently didn't look at the RawSample option, and
xsetwacom confused it's offset with Suppress. In other words:
if you thought you've been tweaking Suppress, you've been tweaking
RawSample. If you thought you were tewaking RawSample, you weren't
doing anything.

Signed-off-by: Jason Gerecke <killert...@gmail.com>
---
 src/wcmValidateDevice.c |    3 +++
 tools/xsetwacom.c       |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 9d68abd..755d417 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -537,6 +537,9 @@ int wcmParseOptions(InputInfoPtr pInfo, int hotplugged)
                }
        }
 
+       common->wcmRawSample = xf86SetIntOption(pInfo->options, "RawSample",
+                       common->wcmRawSample);
+
        common->wcmSuppress = xf86SetIntOption(pInfo->options, "Suppress",
                        common->wcmSuppress);
        if (common->wcmSuppress != 0) /* 0 disables suppression */
diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c
index e42c4fc..82a7bbf 100644
--- a/tools/xsetwacom.c
+++ b/tools/xsetwacom.c
@@ -149,7 +149,7 @@ static param_t parameters[] =
                .desc = "Number of points trimmed, default is 2. ",
                .prop_name = WACOM_PROP_SAMPLE,
                .prop_format = 32,
-               .prop_offset = 1,
+               .prop_offset = 0,
        },
        {
                .name = "RawSample",
@@ -157,7 +157,7 @@ static param_t parameters[] =
                "default is 4. ",
                .prop_name = WACOM_PROP_SAMPLE,
                .prop_format = 32,
-               .prop_offset = 0,
+               .prop_offset = 1,
        },
        {
                .name = "PressureCurve",
-- 
1.7.1


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to