-
Committer:
Chase Douglas
-
Date:
2011-02-02 22:42:55 UTC
-
Revision ID:
chase.douglas@ubuntu.com-20110202224255-kyz6o3tksjyw6b8y
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.