summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synaptics.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 102a701..40cf6b9 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -450,18 +450,13 @@ static void set_default_parameters(InputInfoPtr pInfo)
fingerLow = priv->minp + range * (25.0/256);
fingerHigh = priv->minp + range * (30.0/256);
fingerPress = priv->minp + range * 1.000;
+ emulateTwoFingerMinZ = priv->minp + range * (282.0/256);
edgeMotionMinZ = priv->minp + range * (30.0/256);
edgeMotionMaxZ = priv->minp + range * (160.0/256);
pressureMotionMinZ = priv->minp + range * (30.0/256);
pressureMotionMaxZ = priv->minp + range * (160.0/256);
palmMinZ = priv->minp + range * (200.0/256);
- /* Enable emulation when hw supports both pressure and width. */
- if (!priv->has_double && priv->has_width)
- emulateTwoFingerMinZ = fingerHigh;
- else
- emulateTwoFingerMinZ = priv->minp + range * (282.0/256);
-
range = priv->maxw - priv->minw;
/* scaling based on defaults below and a tool width of 16 */