Regardless of the type, we can init the wheel buttons since other device types don't generate them anyway.
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmConfig.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wcmConfig.c b/src/wcmConfig.c index 75e382c..3cdb1ff 100644 --- a/src/wcmConfig.c +++ b/src/wcmConfig.c @@ -102,8 +102,8 @@ static int wcmAllocate(LocalDevicePtr local, char* type_name, int flag) priv->relup = 5; /* Default relative wheel up event */ priv->reldn = 4; /* Default relative wheel down event */ - priv->wheelup = IsPad (priv) ? 4 : 0; /* Default absolute wheel up event */ - priv->wheeldn = IsPad (priv) ? 5 : 0; /* Default absolute wheel down event */ + priv->wheelup = 4; /* Default absolute wheel up event */ + priv->wheeldn = 5; /* Default absolute wheel down event */ priv->striplup = 4; /* Default left strip up event */ priv->stripldn = 5; /* Default left strip down event */ priv->striprup = 4; /* Default right strip up event */ -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
