[PATCH 01/12] dix: document transformAbsolute
Peter Hutterer
peter.hutterer at who-t.net
Mon Oct 3 22:23:57 PDT 2011
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
dix/getevents.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dix/getevents.c b/dix/getevents.c
index ebf2653..f3026a3 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -1020,6 +1020,14 @@ transform(struct pixman_f_transform *m, double *x, double *y)
*y = p.v[1];
}
+/**
+ * Apply the device's transformation matrix to the valuator mask and replace
+ * the scaled values in mask. This transformation only applies to valuators
+ * 0 and 1, others will be untouched.
+ *
+ * @param dev The device the valuators came from
+ * @param[in,out] mask The valuator mask.
+ */
static void
transformAbsolute(DeviceIntPtr dev, ValuatorMask *mask)
{
--
1.7.6.4
More information about the xorg-devel
mailing list