summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-26 16:25:33 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-26 16:25:33 +0200
commit3cd78ffe61b4a5d6430b6453a8e3aa8247b70f6e (patch)
tree3e943cf577f7bc4eefc1d20f8c8051e1f8e4f928
parentbabe344373d036d57a270658d134d6c0b334f280 (diff)
Trim tapping timeouts
Reduce the tapping timeout to 200 ms. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/grail-gestures.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grail-gestures.c b/src/grail-gestures.c
index 4262af7..a50ddca 100644
--- a/src/grail-gestures.c
+++ b/src/grail-gestures.c
@@ -26,9 +26,9 @@
26 26
27static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 }; 27static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 };
28static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 }; 28static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 };
29static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 10000, 10000 }; 29static const grail_time_t FM_BAR_MS[DIM_FM] = { 200, 200, 10000, 10000 };
30static const grail_time_t SAMPLE_MS = 10; 30static const grail_time_t SAMPLE_MS = 10;
31static const float EPS = 1e-5; 31static const float EPS = 1e-3;
32 32
33static void compute_position(float *x, float *y, 33static void compute_position(float *x, float *y,
34 const struct touch_frame *frame) 34 const struct touch_frame *frame)