Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-14 Thread Pekka Paalanen
On Mon, 5 Jan 2015 08:46:28 +1000 Peter Hutterer peter.hutte...@who-t.net wrote: On Fri, Jan 02, 2015 at 02:22:04PM +0100, Sjoerd Simons wrote: On Fri, 2015-01-02 at 13:07 +, Daniel Stone wrote: Hi, On 2 January 2015 at 12:24, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote:

Re: [PATCH v2 weston] libinput-device: use the discrete axis value for wheel events

2015-01-14 Thread Jonas Ådahl
On Thu, Jan 15, 2015 at 01:14:43PM +1000, Peter Hutterer wrote: libinput 0.8 sent wheel click events with value 10. Since 0.8 the value is the angle of the click in degrees but it now provides the click count as separate value. To keep backwards-compat with existing clients, we just send

RE: [weston1.5]Question about HardKey input monitor with wayland/weston

2015-01-14 Thread Yang Andy
Hi Pekka Thank you for your reply. I think you have a fundamental problem here: global hotkeys cannot be in any way associated with keyboard focus. That is their whole point: they must work without any focus. So a design that relies on focus or focus switching is broken from the start.I agree

Question about graphics rendering about weston/composite

2015-01-14 Thread Yang Andy
Hi everyone I have a question about graphics rendering about weston/composite. When i launch application,there is no graphics(application image) on the display. But while i move the mouse,the graphics(application image) is renderred on the display. [Software Design] 1.Windows Manager base

Re: [PATCH weston] libinput-device: use the new merged scroll events

2015-01-14 Thread Jonas Ådahl
On Tue, Jan 13, 2015 at 11:55:37AM +1000, Peter Hutterer wrote: libinput now provides a single event for scroll events. Extract the axes from that event and split them into the wl events. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Patch for the as yet unreleased libinput

[ANNOUNCE] libinput 0.8.0

2015-01-14 Thread Peter Hutterer
A new release of libinput, 0.8, is available. This release contains a few of API/ABI breaks. You will likely need to update your code. Symbols deprecated since 0.6 were removed too. The soname was bumped to reflect the ABI changes. Main changes: * Improved documentation. We have moved much of

Re: [PATCH v4 libinput] touchpad: add a TOUCH_HOVERING state

2015-01-14 Thread Hans de Goede
Hi, On 14-01-15 07:21, Peter Hutterer wrote: Some touchpads provide touch information while the finger hovers over the touchpad, i.e. before BTN_TOUCH. Add a touch state for those touchpads so we can ignore the touches until they actually start. The approach is now: instead of BEGIN we mark a

[PATCH libinput resend] touchpad: Allow the center of pinned fingers to drift over time

2015-01-14 Thread Hans de Goede
Allow the center of pinned fingers to drift over time, to avoid accidentally unpinning fingers. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86807 Signed-off-by: Hans de Goede hdego...@redhat.com --- src/evdev-mt-touchpad.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH libinput resend 0/1] touchpad: Allow the center of pinned fingers

2015-01-14 Thread Hans de Goede
Hi Peter, I still have this patch sitting in my local patch-queue and I still believe it makes sense to do this, can you please review this ? A motivated NAK will do too, then I'll drop it :) Regards, Hans ___ wayland-devel mailing list

[PATCH libinput v2 0/5] Add a config interface for click methods

2015-01-14 Thread Hans de Goede
Hi All, Here is v2 of Peter's config interface for click methods series, only touchpad: hook up click method configuration is changed: - Keep top softbuttons working when enabling clickfinger - Simplify touchpad click method switching Regards, Hans

[PATCH libinput v2 4/5] test: run clickfinger test for all clickpad-capable devices

2015-01-14 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Hans de Goede hdego...@redhat.com --- test/touchpad.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c

[PATCH libinput v2 1/5] Add a config interface for click methods

2015-01-14 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net Two methods are provided: * button area - used on most clickpads, a click with a touch within a given area generates left/middle/right clicks * clickfinger - used on apple touchpads, a click with 1/2/3 fingers on the touchpad generates a left,

[PATCH libinput v2 5/5] tests: add a few clickfinger tests

2015-01-14 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Hans de Goede hdego...@redhat.com --- test/touchpad.c | 293 1 file changed, 293 insertions(+) diff --git a/test/touchpad.c

[PATCH libinput v2 2/5] touchpad: hook up click method configuration

2015-01-14 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net Allow switching between softbuttons and clickfinger on any mt-capable clickpad. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net [hdego...@redhat.com] Keep top softbuttons working when enabling clickfinger [hdego...@redhat.com] Simply touchpad

[PATCH libinput v2 3/5] test: add tests for clickfinger defaults

2015-01-14 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Hans de Goede hdego...@redhat.com --- test/touchpad.c | 85 + 1 file changed, 85 insertions(+) diff --git a/test/touchpad.c

Re: [PATCH v2 libinput] Add libinput_event_pointer_get_axis_value_discrete() to count wheel clicks

2015-01-14 Thread Hans de Goede
Hi Peter, As requested I've reviewed the API addition done in: http://lists.freedesktop.org/archives/wayland-devel/2015-January/019365.html This looks good to me: Reviewed-by: Hans de Goede hdego...@redhat.com Regards, Hans ___ wayland-devel