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-gestures.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/grail-gestures.h') diff --git a/src/grail-gestures.h b/src/grail-gestures.h index 57204ad..663d357 100644 --- a/src/grail-gestures.h +++ b/src/grail-gestures.h @@ -43,8 +43,7 @@ struct move_model { grail_time_t time; }; -void gru_init_motion(struct grail *ge, - const struct touch_dev_caps *caps); +void gru_init_motion(struct grail *ge); void gru_motion(struct grail *ge, const struct touch_frame *frame); void gru_event(struct grail *ge, int gid, -- cgit v1.2.3