Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2012 03:36:53 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 215210 for review
Message-ID:  <201208010336.q713arcA076612@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@215210?ac=10

Change 215210 by brooks@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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208010336.q713arcA076612>