summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-05-12 15:22:19 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-05-12 15:29:55 +1000
commit9a6952dafe7241d4987eedd4637e5a9785d7ec23 (patch)
treed34e5a54c7bb85022f97993a95b3f2f05f757b94
parentf12eca9f8392934031cb250e7a2a5ed1d5ca11cf (diff)
Restore non-xy axes updates
This broke in d24431a1863c49aa Restore wheel emulation for absolute devices, last hunk when the valuator update was moved to before any early exit condition. But that new update only applies to valuator maps < 2, i.e. x/y only. Other valuators are now ignored and remain on 0 forever. Restore the valuator update. https://bugs.freedesktop.org/show_bug.cgi?id=95315 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 2c88343..341db61 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -796,6 +796,7 @@ EvdevProcessAbsoluteMotionEvent(InputInfoPtr pInfo, struct input_event *ev)
pEvdev->rel_queued = 1;
}
} else {
+ valuator_mask_set(pEvdev->abs_vals, map, value);
pEvdev->abs_queued = 1;
}
}