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.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/grail-recognizer.c') diff --git a/src/grail-recognizer.c b/src/grail-recognizer.c index bed704e..587a12a 100644 --- a/src/grail-recognizer.c +++ b/src/grail-recognizer.c @@ -27,14 +27,14 @@ #include #include -int gru_init(struct grail *ge, const struct touch_dev_caps *caps) +int gru_init(struct grail *ge) { struct gesture_recognizer *gru; gru = calloc(1, sizeof(struct gesture_recognizer)); if (!gru) return -ENOMEM; ge->gru = gru; - gru_init_motion(ge, caps); + gru_init_motion(ge); return 0; } -- cgit v1.2.3