1fe21a8fe1
There's handlers around relying on up/down/left/right scroll events, which won't work as expected if only smooth scroll events are sent. In order to work properly there, we have to retrofit discrete scroll events on the evdev backend. Fix this by implementing emission (on devices with a wheel) and emulation (on anything else) of discrete scroll events. On the former both smooth and discrete events are set, for the latter we do accumulate the dx/dy of the latest scroll events, and emit discrete ones when we accumulated enough. The ending 0/0 event will reset the accumulators for the next scrolling batch. https://bugzilla.gnome.org/show_bug.cgi?id=756284 |
||
---|---|---|
.. | ||
clutter-device-manager-evdev.c | ||
clutter-device-manager-evdev.h | ||
clutter-evdev.h | ||
clutter-input-device-evdev.c | ||
clutter-input-device-evdev.h | ||
clutter-xkb-utils.c | ||
clutter-xkb-utils.h |