Re: [PATCH 2/2] touchpad: Add edge-scrolling support

2014-11-24 Thread Hans de Goede
Hi, On 11/20/2014 07:19 AM, Peter Hutterer wrote: On Wed, Nov 19, 2014 at 11:50:13AM +0100, Hans de Goede wrote: [...] + + switch (tp-model) { + case MODEL_SYNAPTICS: + edge_width = width * .07; + edge_height = height * .07; + break; +

Re: [PATCH 2/2] touchpad: Add edge-scrolling support

2014-11-19 Thread Hans de Goede
Hi, On 11/11/2014 02:20 AM, Peter Hutterer wrote: sorry for the duplicate Hans, wayland-devel got dropped of the first reply. On Fri, Nov 07, 2014 at 02:25:06PM +0100, Hans de Goede wrote: Add edge-scrolling support for non multi-touch touchpads as well as for users who prefer

Re: [PATCH 2/2] touchpad: Add edge-scrolling support

2014-11-19 Thread Peter Hutterer
On Wed, Nov 19, 2014 at 11:50:13AM +0100, Hans de Goede wrote: [...] + + switch (tp-model) { + case MODEL_SYNAPTICS: + edge_width = width * .07; + edge_height = height * .07; + break; + case MODEL_ALPS: + edge_width = width * .15; +

Re: [PATCH 2/2] touchpad: Add edge-scrolling support

2014-11-10 Thread Peter Hutterer
sorry for the duplicate Hans, wayland-devel got dropped of the first reply. On Fri, Nov 07, 2014 at 02:25:06PM +0100, Hans de Goede wrote: Add edge-scrolling support for non multi-touch touchpads as well as for users who prefer edge-scrolling (as long as they don't have a clickpad). Note the

[PATCH 2/2] touchpad: Add edge-scrolling support

2014-11-07 Thread Hans de Goede
Add edge-scrolling support for non multi-touch touchpads as well as for users who prefer edge-scrolling (as long as they don't have a clickpad). Note the percentage to use of the width / height as scroll-edge differs from one manufacturer to the next, the various per model percentages were taken