From 748c2cb48e6bd1c47ad125556b97871a7252b492 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 15 Apr 2010 21:29:30 +0200 Subject: Unify detection of finger configuration changes This patch simplifies and unifies the means by which finger configuration changes are detected. The logic is almost the same, except for the unlikely case of very quickly switching the clicking finger, after first having moved it above the clicking area. This case should now properly be detected as a pointing finger. Signed-off-by: Henrik Rydberg --- src/gestures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gestures.h') diff --git a/src/gestures.h b/src/gestures.h index e99bc3d..5630d4c 100644 --- a/src/gestures.h +++ b/src/gestures.h @@ -33,7 +33,7 @@ struct Gestures { unsigned type, btmask, btdata; - int dx, dy; + int same_fingers, dx, dy; }; void extract_gestures(struct Gestures *gs, struct MTouch* mt); -- cgit v1.2.3