Re: [PATCH evdev 1/1] Support smooth scrolling on REL_WHEEL, REL_HWHEEL and REL_DIAL

2011-09-27 Thread Daniel Stone
Hi, On 23 September 2011 00:14, Peter Hutterer peter.hutte...@who-t.net wrote: [general reassurance] Reviewed-by: Daniel Stone dan...@fooishbar.org Cheers, Daniel ___ xorg-devel@lists.x.org: X.Org development Archives:

Re: [PATCH evdev 1/1] Support smooth scrolling on REL_WHEEL, REL_HWHEEL and REL_DIAL

2011-09-22 Thread Daniel Stone
Hi, On Mon, Aug 22, 2011 at 03:35:15PM +1000, Peter Hutterer wrote: +#ifdef HAVE_SMOOTH_SCROLLING +if (axis == REL_WHEEL) +SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, 1.0, SCROLL_FLAG_PREFERRED); +else if (axis == REL_DIAL) +

Re: [PATCH evdev 1/1] Support smooth scrolling on REL_WHEEL, REL_HWHEEL and REL_DIAL

2011-09-22 Thread Peter Hutterer
On Thu, Sep 22, 2011 at 11:05:42AM +0100, Daniel Stone wrote: Hi, On Mon, Aug 22, 2011 at 03:35:15PM +1000, Peter Hutterer wrote: +#ifdef HAVE_SMOOTH_SCROLLING +if (axis == REL_WHEEL) +SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, 1.0,

[PATCH evdev 1/1] Support smooth scrolling on REL_WHEEL, REL_HWHEEL and REL_DIAL

2011-08-21 Thread Peter Hutterer
Automatic smooth scrolling setup for these axes, with REL_WHEEL and REL_DIAL both mapping into vscrolling. REL_WHEEL is the preferred axis. Mouse wheel emulation is not yet updated for smooth scrolling. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 17