Not that it matters for this driver, but the axes are set up as absolute, so
label them accordingly.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 src/void.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/void.c b/src/void.c
index 74058d6..5764111 100644
--- a/src/void.c
+++ b/src/void.c
@@ -98,8 +98,8 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
     Atom btn_labels[MAXBUTTONS] = {0};
     Atom axes_labels[2] = {0};
 
-    axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_X);
-    axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_Y);
+    axes_labels[0] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X);
+    axes_labels[1] = XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y);
 
     btn_labels[0] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_LEFT);
     btn_labels[1] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_MIDDLE);
-- 
1.7.3.2

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to