summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-10 13:11:30 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-09-10 14:06:12 +0200
commitfce9c3688b9a1d1fd24edc06da92609b02c2dcd7 (patch)
treeb817b66180ffe914e7b95375d83a0f277754480c
parent2c07d7aa94c9f2f40d72875cf19a9c6a7b3a2c69 (diff)
Allow slow tapping
For the benefit of hardware that cannot accurately meet the desirable response times, allow for tapping times up to 300 ms. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/grail-gestures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grail-gestures.c b/src/grail-gestures.c
index 4bd83b3..ed937a4 100644
--- a/src/grail-gestures.c
+++ b/src/grail-gestures.c
@@ -26,7 +26,7 @@
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] = { 200, 200, 10000, 10000 }; 29static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 10000, 10000 };
30static const grail_time_t SAMPLE_MS = 10; 30static const grail_time_t SAMPLE_MS = 10;
31static const float EPS = 1e-3; 31static const float EPS = 1e-3;
32 32