Re: [PATCH libinput 1/3] test: widen litest to use doubles for scaled variables

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 09:01 AM, Peter Hutterer wrote: > Using a 0-100% range is useful but in some cases we need events with finer > than 1% granularity. > > And fix up the two-finger test that now fails. This was a bug in the test > anyway, the dx/dy supplied here was 1% of the touchpad width. Confi

[PATCH libinput 1/3] test: widen litest to use doubles for scaled variables

2014-07-18 Thread Peter Hutterer
Using a 0-100% range is useful but in some cases we need events with finer than 1% granularity. And fix up the two-finger test that now fails. This was a bug in the test anyway, the dx/dy supplied here was 1% of the touchpad width. Confined to integers this meant we only ever had the touch down, t