From fbfbf93405222322571e15e78dea57c8f2755eae Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 26 Sep 2009 22:52:39 -0700 Subject: [PATCH] XQuartz: Add pressure/tilt property labels (cherry picked from commit 84ea67130ef6b4086042aad6036ce66f93ea3e56) --- hw/xquartz/darwin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c index 8836782a2..30b890589 100644 --- a/hw/xquartz/darwin.c +++ b/hw/xquartz/darwin.c @@ -353,6 +353,9 @@ static int DarwinTabletProc(DeviceIntPtr pPointer, int what) { axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X); axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y); + axes_labels[2] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_PRESSURE); + axes_labels[3] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_TILT_X); + axes_labels[4] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_TILT_Y); // Set button map. InitPointerDeviceStruct((DevicePtr)pPointer, map, NBUTTONS,