xfreerdp-client: source of touchpoint

This commit is contained in:
C-o-r-E 2013-04-25 20:06:38 -04:00
parent 552b10b848
commit 92356aaaf1
1 changed files with 6 additions and 1 deletions

View File

@ -103,7 +103,12 @@ void xf_input_handle_event(xfInfo* xfi, XEvent* event)
case XI_TouchUpdate:
case XI_TouchEnd:
devEvent = cookie->data;
printf("\tTouch (%d) [%f,%f]\n", cookie->evtype, devEvent->event_x, devEvent->event_y);
printf("\tTouch (%d - dev:%d - src:%d) [%f,%f]\n",
cookie->evtype,
devEvent->deviceid,
devEvent->sourceid,
devEvent->event_x,
devEvent->event_y);
//do_something(ev.xcookie.data);
break;