summaryrefslogtreecommitdiff
path: root/src/grail-recognizer.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-04 16:47:43 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit697b5b5c7d2b1c46387061fcbed24cbee51d98ce (patch)
treeb8e8dbf02453f7c7dc31c691822a088123d21cd8 /src/grail-recognizer.h
parent642d7ee26f347152a106d48ddad37a8059d36fb1 (diff)
Introduce tapping
Simplify some common parts of the recognizer code and add tapping to the gesture suite. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'src/grail-recognizer.h')
-rw-r--r--src/grail-recognizer.h7
1 files changed, 4 insertions, 3 deletions
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 @@
30struct gesture_recognizer { 30struct gesture_recognizer {
31 struct touch_frame frame; 31 struct touch_frame frame;
32 struct move_model move; 32 struct move_model move;
33 struct scroll_model scroll; 33 struct combo_model pan;
34 struct zoom_model zoom; 34 struct combo_model pinch;
35 struct rotate_model rotate; 35 struct combo_model rotate;
36 struct combo_model combo; 36 struct combo_model combo;
37 struct tapping_model tapping;
37}; 38};
38 39
39int gru_init(struct grail *ge, const struct touch_dev_caps *caps); 40int gru_init(struct grail *ge, const struct touch_dev_caps *caps);