diff options
author | Éric Brunet <Eric.Brunet@lps.ens.fr> | 2014-09-30 14:27:20 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-12-17 14:26:25 +1000 |
commit | e0e2587a95afaeb25ad73bb8b27488e79d1fe02e (patch) | |
tree | d9f1d50bbfced574734b28adbac60d994cff4f6b /src/emuWheel.c | |
parent | cb3b023783fe73d9bbb7c9c6ba6c73048b8303ef (diff) |
Split pEvdev->vals into pEvdev->abs_vals and pEvdev->rel_vals
This should hopefully fix bug 84445.
Signed-off-by: Éric Brunet <Eric.Brunet@lps.ens.fr>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r-- | src/emuWheel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c index 04487cf..f1d1990 100644 --- a/src/emuWheel.c +++ b/src/emuWheel.c @@ -119,7 +119,7 @@ EvdevWheelEmuFilterMotion(InputInfoPtr pInfo, struct input_event *pEv) int oldValue; if (axis > -1 && valuator_mask_fetch(pEvdev->old_vals, axis, &oldValue)) { - valuator_mask_set(pEvdev->vals, axis, value); + valuator_mask_set(pEvdev->abs_vals, axis, value); value -= oldValue; /* make value into a differential measurement */ } else value = 0; /* avoid a jump on the first touch */ |