summaryrefslogtreecommitdiff
path: root/src/emuWheel.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-01-14 10:41:46 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-20 10:48:35 +1000
commitd24431a1863c49aa9edcabf535ffa64bfa87053c (patch)
tree2a9a47a29eba49be5026f93cf383ad9d54a49ed6 /src/emuWheel.c
parentce7d8fdebc0123227be91ba5d89126a36f089ff5 (diff)
Restore wheel emulation for absolute devices
Wheel emulation relies on oldVals, which stopped updating in 3dcf6f123c5. Since wheel emulation may filter the abs event, store the event before we do anything with it. If we really want the abs_event, abs_queued will be set to 1, otherwise the value will be ignored. And now that we know abs_value is always valied, we can copy its value into old_vals, so that wheel emulation can calculate the delta correctly. https://bugs.freedesktop.org/show_bug.cgi?id=93617 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/emuWheel.c')
0 files changed, 0 insertions, 0 deletions