From 8290a399dd67f421dba8472e3ebe0fcdd42225cb Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Wed, 14 Sep 2011 15:35:47 -0500 Subject: Don't scale the absolute axis valuators. Peter Hutterer told me I needed to set the valuator ranges, but I don't want the input core to scale the coordinates. Setting the min and max to -1 apparently has the right effect. Signed-off-by: Jamey Sharp --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index bd5e11e..d4d701c 100644 --- a/src/input.c +++ b/src/input.c @@ -197,7 +197,7 @@ _nested_input_init_axes(DeviceIntPtr device) { int i; for (i = 0; i < NUM_MOUSE_AXES; i++) { - xf86InitValuatorAxisStruct(device, i, (Atom)0, 0, 640, 1, 1, 1, Absolute); + xf86InitValuatorAxisStruct(device, i, (Atom)0, -1, -1, 1, 1, 1, Absolute); xf86InitValuatorDefaults(device, i); } -- cgit v1.2.3