Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
case XI_Motion:
printf(" flags: %s\n", (event->flags & XIPointerEmulated) ? "emulated" : "");
break;
case XI_Motion:
printf(" flags: %s\n", (event->flags & XIPointerEmulated) ? "emulated" : "");
break;
+#endif
+#if HAVE_XI22
+ case XI_TouchBegin:
+ case XI_TouchUpdate:
+ case XI_TouchEnd:
+ printf(" flags:%s%s\n",
+ (event->flags & XITouchPendingEnd) ? " pending_end" : "",
+ (event->flags & XITouchEmulatingPointer) ? " emulating" : "");
+ break;