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 <jamey@minilop.net>
This commit is contained in:
Jamey Sharp
2011-09-14 15:35:47 -05:00
parent 4ef61d6bf8
commit 8290a399dd

View File

@@ -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);
}