summaryrefslogtreecommitdiff
blob: ae65acbf3312a2d7bda60557f51c346d3880a7de (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/evdev_axes.c
+++ b/src/evdev_axes.c
@@ -683,7 +683,7 @@
         return !Success;
 
     for (i = 0; i < axes; i++) {
-	xf86InitValuatorAxisStruct(device, i, 0, -1, 0, 0, 1);
+	xf86InitValuatorAxisStruct(device, i, -1, -1, 0, 0, 1);
 	xf86InitValuatorDefaults(device, i);
     }