diff options
author | Éric Brunet <Eric.Brunet@lps.ens.fr> | 2014-09-30 22:15:45 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-12-17 14:33:17 +1000 |
commit | f59585b36709c8a529da6e08662ed6c62b73ebd5 (patch) | |
tree | ea995c7b149e4170899694cff1d6fac5bf4b809c /autogen.sh | |
parent | drop the pEvdev->delta array (diff) | |
download | xf86-input-evdev-f59585b36709c8a529da6e08662ed6c62b73ebd5.tar.gz xf86-input-evdev-f59585b36709c8a529da6e08662ed6c62b73ebd5.tar.bz2 xf86-input-evdev-f59585b36709c8a529da6e08662ed6c62b73ebd5.zip |
Change the logic concerning EVDEV_RELATIVE_MODE and in_proximity
When not in_proximity, we don't really trust data, even though a valuator
sent just before a in_proximity event might actually be important. The
present code for EVDEV_RELATIVE_MODE throws away all data if not
in_proximity, which is a little bit too much. This patch allows for
relative values to be calculated and old_vals to be updated even if not
in_proximity, but will prevent evdev to sending (presumably) wrong
information to the X server. But at least, old_vals will be correctly
filled when the device comes into proximity again.
Signed-off-by: Éric Brunet <Eric.Brunet@lps.ens.fr>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions