summaryrefslogtreecommitdiff
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 05:52:39 (GMT)
committer Jeremy Huddleston <jeremyhu@freedesktop.org>2009-09-27 20:53:02 (GMT)
commit7958f6b75b3c6b8a827188af2e684f181bdd7688 (patch) (side-by-side diff)
treee6ce3624b1ccf5433501d24996781543981d1661
parent29b2d9cdf5095399b79d9ff2a2f12f5a9c49cf1f (diff)
downloadxserver-7958f6b75b3c6b8a827188af2e684f181bdd7688.zip
xserver-7958f6b75b3c6b8a827188af2e684f181bdd7688.tar.gz
XQuartz: Add pressure/tilt property labels
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--hw/xquartz/darwin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index 8836782..30b8905 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,