summaryrefslogtreecommitdiff
path: root/test/grail-gesture.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/grail-gesture.c')
-rw-r--r--test/grail-gesture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/grail-gesture.c b/test/grail-gesture.c
index d2e0e7d..614bf1a 100644
--- a/test/grail-gesture.c
+++ b/test/grail-gesture.c
@@ -46,7 +46,9 @@ static int tp_get_clients(struct grail *ge,
46 46
47static void tp_event(struct grail *ge, const struct input_event *ev) 47static void tp_event(struct grail *ge, const struct input_event *ev)
48{ 48{
49 fprintf(stderr, "event %d 0x%x %d\n", ev->type, ev->code, ev->value); 49 fprintf(stderr, "%lu.%06u %04x %04x %d\n",
50 ev->time.tv_sec, (unsigned)ev->time.tv_usec,
51 ev->type, ev->code, ev->value);
50} 52}
51 53
52static void tp_gesture(struct grail *ge, const struct grail_event *ev) 54static void tp_gesture(struct grail *ge, const struct grail_event *ev)