From c0666a895e7fe8e488332263fd106ced0ed7cab7 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 2 Jan 2011 11:00:52 +0100 Subject: Replace touch logic with utouch frame engine The original grail uses an internal touch framework and exports some touch information as extended attributes to gesture events. This was never quite the intention, but rather to expose gestures and touches on a similar footing, such that grail can be input agnostic. This patch starts off by replacing the internal touch framework with the utouch-frame engine. Signed-off-by: Henrik Rydberg --- src/gestures-tapping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gestures-tapping.c') diff --git a/src/gestures-tapping.c b/src/gestures-tapping.c index aa8e6d6..6d71642 100644 --- a/src/gestures-tapping.c +++ b/src/gestures-tapping.c @@ -30,7 +30,7 @@ static const int fm_mask = 0x07; static void set_props(const struct gesture_inserter *gin, struct tapping_model *s, const struct move_model *m, - const struct touch_frame *frame) + const struct utouch_frame *frame) { s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start; s->prop[GRAIL_PROP_TAP_X] = gin_prop_x(gin, m->fm[FM_X].value); @@ -40,7 +40,7 @@ static void set_props(const struct gesture_inserter *gin, } int gru_tapping(struct grail *ge, - const struct touch_frame *frame) + const struct utouch_frame *frame) { struct gesture_recognizer *gru = ge->gru; struct tapping_model *state = &gru->tapping; -- cgit v1.2.3