diff options
Diffstat (limited to 'test/touch.c')
| -rw-r--r-- | test/touch.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
| 39 | { | 39 | { |
| 40 | struct touch_frame *frame = &engine->frame; | 40 | struct touch_frame *frame = &engine->frame; |
| 41 | int i, j; | 41 | int i, j; |
| 42 | fprintf(stderr, "sync %d %lld\n", frame->nactive, frame->time); | ||
| 43 | for (i = 0; i < frame->nactive; i++) { | 42 | for (i = 0; i < frame->nactive; i++) { |
| 44 | struct touch *t = frame->active[i]; | 43 | struct touch *t = frame->active[i]; |
| 45 | fprintf(stderr, "touch %d %d\n", i, t->slot); | 44 | fprintf(stderr, "touch %d %d\n", i, t->slot); |
| 46 | for (j = 0; j < DIM_TOUCH_PROP; j++) | 45 | for (j = 0; j < DIM_TOUCH_PROP; j++) |
| 47 | fprintf(stderr, " %d\n", t->prop[j]); | 46 | fprintf(stderr, " %d\n", t->prop[j]); |
| 48 | } | 47 | } |
| 48 | fprintf(stderr, "sync %d %lld %d %d\n", | ||
| 49 | frame->nactive, frame->time, frame->ncreate, frame->ndestroy); | ||
| 49 | } | 50 | } |
| 50 | 51 | ||
| 51 | static void loop_device(struct touch_dev *dev, int fd) | 52 | static void loop_device(struct touch_dev *dev, int fd) |
