aboutsummaryrefslogtreecommitdiffstats
path: root/src/memory.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-06-15 22:57:38 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-06-16 02:33:23 +0200
commit4e9e4d494e094347e7617d39292cbbdd1c81eff1 (patch)
tree8903bac4535b22b53a756d194feed547ce46de13 /src/memory.c
parent354959d909688ab323695e8a2e641554357ef5c6 (diff)
downloadxorg-input-kobomultitouch-4e9e4d494e094347e7617d39292cbbdd1c81eff1.tar.gz
xorg-input-kobomultitouch-4e9e4d494e094347e7617d39292cbbdd1c81eff1.tar.bz2
xorg-input-kobomultitouch-4e9e4d494e094347e7617d39292cbbdd1c81eff1.zip
Increase stability against thumb and edge touches
Sliding a thumb along the upper edge of the pad results in spurious pointer motion. This patch increases the delays before moving close to the pad edges, and increase the relaxation time after a thumb detection, reducing the effect somewhat. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.c b/src/memory.c
index 748aa07..cd88d7a 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -30,7 +30,7 @@
/* timer for cursor stability on finger touch/release */
static const int FINGER_ATTACK_MS = 40;
static const int FINGER_DECAY_MS = 120;
-static const int FINGER_CORNER_MS = 150;
+static const int FINGER_CORNER_MS = 300;
static inline int dxval(const struct FingerState *a,
const struct FingerState *b)