From 8bbf06f8d0056ae30fdfaf260000e763fad2345c Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Thu, 5 Aug 2010 15:26:16 +0200 Subject: 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 --- src/grail-recognizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/grail-recognizer.h') 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 { struct tapping_model tapping; }; -int gru_init(struct grail *ge, const struct touch_dev_caps *caps); +int gru_init(struct grail *ge); void gru_recognize(struct grail *ge, const struct touch_frame *frame); void gru_destroy(struct grail *ge); -- cgit v1.2.3