diff options
| author | Chase Douglas <chase.douglas@canonical.com> | 2011-02-14 16:35:13 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-03-14 12:55:19 +0100 |
| commit | 296cc6e9d0fe0d69045cb288f9f470f3760c4a43 (patch) | |
| tree | be329db8617905c89130432c3f98c44c5371a64e /src/gestures-rotate.c | |
| parent | cc2d67d0f9c6381080de1d666bccfb4b99221113 (diff) | |
Add in time boundaries for recognition
50 ms: Minimum time waiting for touch configuration to settle before
flushing touch events to X. We don't want a two finger gesture
triggering X events for the first finger before the second finger
lands.
200 ms: Maximum time for touches to begin a gesture. If no gesture is
found within this time period, the events are flushed to X.
If after 50 ms there are no possible gestures for the number of active
touches, the events are immediately flushed to X.
If events are flushed to X, no more gesture recognition is possible until
all touches are lifted. Likewise, if any gesture is recognized, no events
may be flushed to X until all touches are lifted.
[rydberg@euromail.se: this patch is severely restrictive and not final]
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/gestures-rotate.c')
0 files changed, 0 insertions, 0 deletions
