From f92c18c344c04a2501e01ae402441a92883da382 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 24 Feb 2011 23:38:01 +0100 Subject: Introduce gesture timeouts The timeout of a gesture is integral to the gesture type. This patch introduces timeout per gesture type, potentially enabling more control over gesture timing aspects. The timeout logic replaces the recently added recognition state. Signed-off-by: Henrik Rydberg --- src/grail-recognizer.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/grail-recognizer.h') diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h index b08ff34..56e5b8d 100644 --- a/src/grail-recognizer.h +++ b/src/grail-recognizer.h @@ -25,12 +25,6 @@ #include "grail-gestures.h" -enum recognition_state { - RECOGNIZING, - RECOGNIZED, - UNRECOGNIZED -}; - struct gesture_recognizer { struct move_model move; struct combo_model drag; @@ -40,8 +34,6 @@ struct gesture_recognizer { struct combo_model winpinch; struct combo_model winrotate; struct tapping_model tapping; - utouch_frame_time_t start_time; - enum recognition_state state; }; int gru_init(struct grail *ge); -- cgit v1.2.3