summaryrefslogtreecommitdiff
path: root/src/xf86HyperPen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xf86HyperPen.c')
-rw-r--r--src/xf86HyperPen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index c31526b..f27899a 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -1565,6 +1565,7 @@ xf86HypInit(InputDriverPtr drv,
}
local->name = dev->identifier;
+ priv->AutoPT = 1;
/* Serial Device is mandatory */
priv->hypDevice = xf86FindOptionValue(local->options, "Device");
@@ -1636,6 +1637,7 @@ xf86HypInit(InputDriverPtr drv,
if (priv->PT > 2) {
xf86Msg(X_CONFIG, "%s: PMin = %d\n",
dev->identifier, priv->PT);
+ priv->AutoPT = 0;
}
else
xf86Msg(X_ERROR, "%s: invalid PMin value (should be > 2)."