From 1b9ca90240fc547c140de76d7e2abb51ee4f8d0a Mon Sep 17 00:00:00 2001 From: Arturo Castro Date: Sun, 11 Apr 2010 00:21:38 +0200 Subject: Delay movement after a finger configuration change The current code responds to finger movement immediately after a finger has been placed on the trackpad, even if the touch is accidental. This patch delays the effect of the finger by 70 ms, resulting in fewer accidental movements. Signed-off-by: Arturo Castro Signed-off-by: Henrik Rydberg --- src/memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/memory.h') diff --git a/src/memory.h b/src/memory.h index a6c51ec..0ab4d04 100644 --- a/src/memory.h +++ b/src/memory.h @@ -26,6 +26,8 @@ struct Memory { unsigned btdata; + mstime_t move_time; + int move_x, move_y; }; void init_memory(struct Memory *mem); -- cgit v1.2.3