ecore_drm: Handle wheel scrolling separately from finger scrolling
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 12 May 2016 21:21:30 +0000 (16:21 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 13 May 2016 21:36:42 +0000 (16:36 -0500)
commit1a339c9e5918f6d8672755d566cac622f1d9c2d3
tree0ccd7f07a3f79305ebd3f3da2f9f4829e744abca
parent4214193bd4b389b5564dbac02fcf05eb46ea161a
ecore_drm: Handle wheel scrolling separately from finger scrolling

Wheels are discrete and scroll in clicks, fingers are continuous and scroll
in fractional pixels.

This change causes wheel based scrolling to be returned in "clicks"
instead of "degrees" - allowing us to roll a single menu item with a click.

It also will allow us to reduce the speed of two finger scrolling without
messing up the speed of wheel scrolling.
src/lib/ecore_drm/ecore_drm_evdev.c