From 697b5b5c7d2b1c46387061fcbed24cbee51d98ce Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 4 Aug 2010 16:47:43 +0200 Subject: Introduce tapping Simplify some common parts of the recognizer code and add tapping to the gesture suite. Signed-off-by: Henrik Rydberg --- test/touch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/touch.c') diff --git a/test/touch.c b/test/touch.c index 9b2d38a..8893c0d 100644 --- a/test/touch.c +++ b/test/touch.c @@ -39,13 +39,14 @@ static void tp_sync(struct touch_engine *engine, { struct touch_frame *frame = &engine->frame; int i, j; - fprintf(stderr, "sync %d %lld\n", frame->nactive, frame->time); for (i = 0; i < frame->nactive; i++) { struct touch *t = frame->active[i]; fprintf(stderr, "touch %d %d\n", i, t->slot); for (j = 0; j < DIM_TOUCH_PROP; j++) fprintf(stderr, " %d\n", t->prop[j]); } + fprintf(stderr, "sync %d %lld %d %d\n", + frame->nactive, frame->time, frame->ncreate, frame->ndestroy); } static void loop_device(struct touch_dev *dev, int fd) -- cgit v1.2.3