summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xf86Elo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index ca21126..cb1699e 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -722,14 +722,14 @@ xf86EloControl(DeviceIntPtr dev,
/* I will map coordinates myself */
InitValuatorAxisStruct(dev, 0,
axis_labels[0],
- -1, -1,
+ priv->min_x, priv->max_x,
9500,
0 /* min_res */,
9500 /* max_res */,
Absolute);
InitValuatorAxisStruct(dev, 1,
axis_labels[1],
- -1, -1,
+ priv->min_y, priv->max_y,
10500,
0 /* min_res */,
10500 /* max_res */,