diff options
-rw-r--r-- | src/xf86Elo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c index a068c04..0dc7b5c 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -1348,11 +1348,12 @@ xf86EloControl(DeviceIntPtr dev, return !Success; } else { - InitValuatorAxisStruct(dev, 0, priv->min_x, priv->max_x, + /* I will map coordinates myself */ + InitValuatorAxisStruct(dev, 0, -1, -1, 9500, 0 /* min_res */, 9500 /* max_res */); - InitValuatorAxisStruct(dev, 1, priv->min_y, priv->max_y, + InitValuatorAxisStruct(dev, 1, -1, -1, 10500, 0 /* min_res */, 10500 /* max_res */); |