summaryrefslogtreecommitdiff
path: root/src/memory.h
diff options
context:
space:
mode:
authorArturo Castro <arturo@openframeworks.cc>2010-04-11 00:21:38 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-04-15 06:10:07 +0200
commit1b9ca90240fc547c140de76d7e2abb51ee4f8d0a (patch)
tree6f6a762bf196e481fcfd2533800f73831d724de6 /src/memory.h
parent40b3cd568e8cc64a5f7f748f2003d90aa5e738ef (diff)
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 <arturo@openframeworks.cc> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/memory.h')
-rw-r--r--src/memory.h2
1 files changed, 2 insertions, 0 deletions
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 @@
26 26
27struct Memory { 27struct Memory {
28 unsigned btdata; 28 unsigned btdata;
29 mstime_t move_time;
30 int move_x, move_y;
29}; 31};
30 32
31void init_memory(struct Memory *mem); 33void init_memory(struct Memory *mem);