PERFORCE change 215210 for review
Brooks Davis
brooks at FreeBSD.org
Wed Aug 1 03:36:54 UTC 2012
http://p4web.freebsd.org/@@215210?ac=10
Change 215210 by brooks at brooks_ecr_current on 2012/08/01 03:36:20
Report Y-axis coordinates when printing gestures.
Affected files ...
.. //depot/projects/ctsrd/beribsd/src/ctsrd/mtlctl/mtlctl.c#5 edit
Differences ...
==== //depot/projects/ctsrd/beribsd/src/ctsrd/mtlctl/mtlctl.c#5 (text+ko) ====
@@ -161,10 +161,10 @@
printf("gesture %s (%02x) ", gesturetostr(sp->ts_gesture),
sp->ts_gesture);
if (sp->ts_x1 >= 0 && sp->ts_y1 >= 0) {
- printf("at (%d, %d) ", sp->ts_x1, sp->ts_x1);
+ printf("at (%d, %d) ", sp->ts_x1, sp->ts_y1);
}
if (sp->ts_count == 2) {
- printf("and (%d, %d) ", sp->ts_x2, sp->ts_x2);
+ printf("and (%d, %d) ", sp->ts_x2, sp->ts_y2);
}
printf("count %d\n", sp->ts_count);
}
More information about the p4-projects
mailing list