diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-09-26 22:52:39 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2009-09-26 23:30:57 -0700 |
commit | fbfbf93405222322571e15e78dea57c8f2755eae (patch) | |
tree | 9d4684c7cfd7b5c218619ea742392d1e80c0fceb | |
parent | 65f14840898dd7e9d61d8c966f3ff11ae3e82d4f (diff) |
XQuartz: Add pressure/tilt property labels
(cherry picked from commit 84ea67130ef6b4086042aad6036ce66f93ea3e56)
-rw-r--r-- | hw/xquartz/darwin.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, |