~fginther/grail/grail-2.0.1.1-oneiric

« back to all changes in this revision

Viewing changes to src/gestures-tapping.c

  • Committer: Francis Ginther
  • Date: 2012-08-22 18:35:11 UTC
  • mfrom: (20.2.19 upstream)
  • Revision ID: francis.ginther@canonical.com-20120822183511-yxwny2hixhyu2z42
* New upstream microrelease, bug fixes only
  - Rename project to simply 'grail' (LP: #1040218)
* Updated debian/watch file for project rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
static void set_props(const struct gesture_inserter *gin,
28
28
                      struct tapping_model *s, const struct move_model *m,
29
 
                      const struct utouch_frame *frame)
 
29
                      const struct oif_frame *frame)
30
30
{
31
31
        s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start;
32
32
        s->prop[GRAIL_PROP_TAP_X] = m->fm[FM_X].value;
36
36
}
37
37
 
38
38
int gru_tapping(struct grail *ge,
39
 
                const struct utouch_frame *frame)
 
39
                const struct oif_frame *frame)
40
40
{
41
41
        struct gesture_recognizer *gru = ge->gru;
42
42
        struct tapping_model *state = &gru->tapping;