diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-08-26 16:25:33 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-26 16:25:33 +0200 |
| commit | 3cd78ffe61b4a5d6430b6453a8e3aa8247b70f6e (patch) | |
| tree | 3e943cf577f7bc4eefc1d20f8c8051e1f8e4f928 | |
| parent | babe344373d036d57a270658d134d6c0b334f280 (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.c | 4 |
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 | ||
| 27 | static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 }; | 27 | static const float FM_SN[DIM_FM] = { 1000, 1000, 200, 1000 }; |
| 28 | static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 }; | 28 | static const float FM_BAR[DIM_FM] = { 50, 50, 30, 50 }; |
| 29 | static const grail_time_t FM_BAR_MS[DIM_FM] = { 300, 300, 10000, 10000 }; | 29 | static const grail_time_t FM_BAR_MS[DIM_FM] = { 200, 200, 10000, 10000 }; |
| 30 | static const grail_time_t SAMPLE_MS = 10; | 30 | static const grail_time_t SAMPLE_MS = 10; |
| 31 | static const float EPS = 1e-5; | 31 | static const float EPS = 1e-3; |
| 32 | 32 | ||
| 33 | static void compute_position(float *x, float *y, | 33 | static void compute_position(float *x, float *y, |
| 34 | const struct touch_frame *frame) | 34 | const struct touch_frame *frame) |
