diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-17 14:08:29 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-23 16:36:15 +1000 |
commit | c695234c5c5fd54a6afd12db46a0926ccdd83301 (patch) | |
tree | 5177cee87a392abb8c0fa926581244568dc047dd /test/dummy.c | |
parent | If we have a touchpad, print so, don't claim we're configuring a tablet. (diff) | |
download | xf86-input-evdev-c695234c5c5fd54a6afd12db46a0926ccdd83301.tar.gz xf86-input-evdev-c695234c5c5fd54a6afd12db46a0926ccdd83301.tar.bz2 xf86-input-evdev-c695234c5c5fd54a6afd12db46a0926ccdd83301.zip |
Fix jumpy touchpads by updating old_vals only when reported by the device.
Remember whether ABS_X or ABS_Y were reported before the SYN event and only
update the old_vals[0, 1] if we got data for them.
Touchpads that reported pressure data before x/y would otherwise update
old_x/y with bogus values, leading to jumps when the first x/y coordinates
were actually reported.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit d9809d7edd2be714a15115b990286554e2979fb6)
Diffstat (limited to 'test/dummy.c')
0 files changed, 0 insertions, 0 deletions