summaryrefslogtreecommitdiff
path: root/src/grail-recognizer.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-05 15:26:16 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit8bbf06f8d0056ae30fdfaf260000e763fad2345c (patch)
treeb52bae6d7250a31755726ec4a96f33863d3f5f7c /src/grail-recognizer.h
parentd5f810a0d3e0013a76136750eaff825ceec099a2 (diff)
make event units public in the api
Add grail_get_units() to the api, so so that applications can extract the min/max coordinates used in the gesture events. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'src/grail-recognizer.h')
-rw-r--r--src/grail-recognizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grail-recognizer.h b/src/grail-recognizer.h
index d3b24b3..8a5ac80 100644
--- a/src/grail-recognizer.h
+++ b/src/grail-recognizer.h
@@ -37,7 +37,7 @@ struct gesture_recognizer {
37 struct tapping_model tapping; 37 struct tapping_model tapping;
38}; 38};
39 39
40int gru_init(struct grail *ge, const struct touch_dev_caps *caps); 40int gru_init(struct grail *ge);
41void gru_recognize(struct grail *ge, const struct touch_frame *frame); 41void gru_recognize(struct grail *ge, const struct touch_frame *frame);
42void gru_destroy(struct grail *ge); 42void gru_destroy(struct grail *ge);
43 43