summaryrefslogtreecommitdiff
path: root/src/gestures-tapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gestures-tapping.c')
-rw-r--r--src/gestures-tapping.c4
1 files changed, 2 insertions, 2 deletions
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;
30 30
31static void set_props(const struct gesture_inserter *gin, 31static void set_props(const struct gesture_inserter *gin,
32 struct tapping_model *s, const struct move_model *m, 32 struct tapping_model *s, const struct move_model *m,
33 const struct touch_frame *frame) 33 const struct utouch_frame *frame)
34{ 34{
35 s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start; 35 s->prop[GRAIL_PROP_TAP_DT] = m->time - s->start;
36 s->prop[GRAIL_PROP_TAP_X] = gin_prop_x(gin, m->fm[FM_X].value); 36 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,
40} 40}
41 41
42int gru_tapping(struct grail *ge, 42int gru_tapping(struct grail *ge,
43 const struct touch_frame *frame) 43 const struct utouch_frame *frame)
44{ 44{
45 struct gesture_recognizer *gru = ge->gru; 45 struct gesture_recognizer *gru = ge->gru;
46 struct tapping_model *state = &gru->tapping; 46 struct tapping_model *state = &gru->tapping;