diff options
author | Bartosz Fabianowski <freebsd@chillt.de> | 2007-12-07 14:26:28 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-12-07 14:26:28 +1030 |
commit | 00dff80caeb6aabd1206f0279de6d2e8263ca3a5 (patch) | |
tree | e2b9c9a022e42a7873a51879898b83d657e997bb | |
parent | 7f22bdb90dcb1fd4077c64784bae182f84aca653 (diff) |
Make the hyperpen driver actually report sensible pressure values.
-rw-r--r-- | src/xf86HyperPen.c | 2 |
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)." |