mutter/clutter/evdev
Carlos Garnacho 1fe21a8fe1 evdev: Emulate discrete scroll events out of smooth scroll ones.
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
2015-10-12 19:54:32 +01:00
..
clutter-device-manager-evdev.c evdev: Emulate discrete scroll events out of smooth scroll ones. 2015-10-12 19:54:32 +01:00
clutter-device-manager-evdev.h evdev: Merge clutter-event-evdev.[ch] into the device manager 2010-11-30 14:40:38 +00:00
clutter-evdev.h docs: Minimal fixes for the API reference 2015-03-03 15:53:04 +00:00
clutter-input-device-evdev.c evdev: Set vendor/product IDs on input devices 2015-01-09 17:01:22 +01:00
clutter-input-device-evdev.h evdev: Used floating point instead of fixed point numbers 2014-06-10 10:39:42 +01:00
clutter-xkb-utils.c evdev: implement setting leds 2013-09-09 13:24:23 +02:00
clutter-xkb-utils.h evdev: implement setting leds 2013-09-09 13:24:23 +02:00