diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-08-23 14:01:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-08-23 14:01:37 +0000 |
commit | 3f696ed88b97697638b38cbd1935a3d2010584a5 (patch) | |
tree | fcbfd05ce4179e544ca5b64f1e7f2bac23ec0f89 /driver/xf86-input-hyperpen/src | |
parent | 003516b5072cc8c99f7702a8fd181951b7981507 (diff) |
xf86-input-hyperpen 1.2.0
Diffstat (limited to 'driver/xf86-input-hyperpen/src')
-rw-r--r-- | driver/xf86-input-hyperpen/src/xf86HyperPen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/xf86-input-hyperpen/src/xf86HyperPen.c b/driver/xf86-input-hyperpen/src/xf86HyperPen.c index 59cd36582..f27899a61 100644 --- a/driver/xf86-input-hyperpen/src/xf86HyperPen.c +++ b/driver/xf86-input-hyperpen/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)." @@ -1759,7 +1761,7 @@ static XF86ModuleVersionInfo xf86HypVersionRec = MODINFOSTRING1, MODINFOSTRING2, XORG_VERSION_CURRENT, - 1, 1, 0, + PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCHLEVEL, ABI_CLASS_XINPUT, ABI_XINPUT_VERSION, MOD_CLASS_XINPUT, |