From 697b5b5c7d2b1c46387061fcbed24cbee51d98ce Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 4 Aug 2010 16:47:43 +0200 Subject: Introduce tapping Simplify some common parts of the recognizer code and add tapping to the gesture suite. Signed-off-by: Henrik Rydberg --- src/grail-recognizer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/grail-recognizer.h') diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h index 247687d..d3b24b3 100644 --- a/src/grail-recognizer.h +++ b/src/grail-recognizer.h @@ -30,10 +30,11 @@ struct gesture_recognizer { struct touch_frame frame; struct move_model move; - struct scroll_model scroll; - struct zoom_model zoom; - struct rotate_model rotate; + struct combo_model pan; + struct combo_model pinch; + struct combo_model rotate; struct combo_model combo; + struct tapping_model tapping; }; int gru_init(struct grail *ge, const struct touch_dev_caps *caps); -- cgit v1.2.3