diff options
author | Søren Holm <sh@mikrofyn.com> | 2012-08-16 13:09:10 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-08-17 15:12:11 +1000 |
commit | 3f5e8141145b861f978bc1d250f4400915e1fba4 (patch) | |
tree | f46c8081de77db2bf8f18f74da131c0dec1cdd6c | |
parent | 948e472fb1eaa7ed0d733f93d9616ec5b199cd93 (diff) |
Added correct scaling of axes.
Signed-off-by: Søren Holm <sh@sgh.dk>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86Elo.c | 4 |
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 */, |