Input: Hard-keys input support using libinput and weston 1.8.0

2015-10-29 Thread Vikas Patil
Dear All, I have a requirement where Hard-Keys input events (e.g. Home button, Back button, Volume buttons or Volume Rotary Knobs) needs to be injected into weston compositor and passed to application or application can listen on those events using wayland/weston some way. Does weston 1.8.0 and l

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-29 Thread Jonas Ådahl
On Thu, Oct 29, 2015 at 05:51:04PM +0100, Carlos Garnacho wrote: > Hey Jonas!, > > On Thu, Oct 29, 2015 at 9:37 AM, Jonas Ådahl wrote: > > Hey Carlos, > > > > Finally had a look at this one. > > Cheers :) > > > > > On Wed, Sep 30, 2015 at 10:45:39PM +0200, Carlos Garnacho wrote: > >> Currently,

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Jonas Ådahl
On Fri, Oct 30, 2015 at 08:41:18AM +1000, Peter Hutterer wrote: > On Thu, Oct 29, 2015 at 09:33:14AM +, Daniel Stone wrote: > > Hi, > > > > On 29 October 2015 at 09:25, Jonas Ådahl wrote: > > > On Thu, Oct 29, 2015 at 09:08:11AM +, Daniel Stone wrote: > > >> On 29 October 2015 at 06:54, J

[PATCH libinput 3/3] evdev: init pointer acceleration for any device with pointer cap and rel x/y

2015-10-29 Thread Peter Hutterer
The Asus RoG Gladius exposes two event nodes, one mouse, one keyboard. The keyboard node has REL_X/Y and REL_HWHEEL on top of the various key bits and ABS_VOLUME. The keyboard node does not have BTN_* set, udev tags this device as a keyboard only, not as a pointer but we still initialize the point

[PATCH libinput 2/3] evdev: don't handle motion events if the device isn't a pointer device

2015-10-29 Thread Peter Hutterer
This check is already in place for all other event types. Signed-off-by: Peter Hutterer --- src/evdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index 4c947d6..ba1b568 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -289,6 +289,9 @@ evdev_flush_pending_event

[PATCH libinput 1/3] evdev: log a bug for missing pointer accel on relative events

2015-10-29 Thread Peter Hutterer
And use the unaccelerated motion events. Better than crashing, and better than a non-moving mouse. Signed-off-by: Peter Hutterer --- src/evdev.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 45c1b1b..4c947d6 100644 --- a/sr

Re: [PATCH] dmabuf: get supported dmabuf formats from compositor backend

2015-10-29 Thread Bryce Harrington
On Tue, Oct 20, 2015 at 08:45:50AM -0700, Bryce Harrington wrote: > On Tue, Oct 20, 2015 at 04:54:30PM +0200, Fabien Dessenne wrote: > > Add the possibility for the compositor backend to provide with the list > > of supported pixel formats for dmabuf-based buffers. > > This information is used by l

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Peter Hutterer
On Thu, Oct 29, 2015 at 09:33:14AM +, Daniel Stone wrote: > Hi, > > On 29 October 2015 at 09:25, Jonas Ådahl wrote: > > On Thu, Oct 29, 2015 at 09:08:11AM +, Daniel Stone wrote: > >> On 29 October 2015 at 06:54, Jonas Ådahl wrote: > >> > On Thu, Oct 29, 2015 at 02:58:33PM +1000, Peter Hu

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-29 Thread Michael Catanzaro
On Thu, 2015-10-29 at 16:37 +0800, Jonas Ådahl wrote: > Correct me if I'm wrong, but this event is meant to be sent after a > destination has read all the data it needs, meaning we could > effectively > send this for regular clipboard sources as well? Then just call it > "finished". I don't think

Re: [PATCH] Provide damage region for screen recording on Raspberry Pi

2015-10-29 Thread Bryce Harrington
On Wed, Oct 21, 2015 at 07:58:17PM -0700, Bryce Harrington wrote: > On Thu, Oct 22, 2015 at 11:44:49AM +0900, Tomohito Esaki wrote: > > From: Shinya Saito > > > > When trying to do sceen recording using the screenshooter, no screen data > > was ever processed because the rpi-renderer never set th

Re: [PATCH] compositor: Disallow negative geometries in backend output configs

2015-10-29 Thread Bryce Harrington
On Sat, Oct 24, 2015 at 09:53:15AM +0300, Giulio Camuffo wrote: > 2015-10-24 1:29 GMT+03:00 Bryce Harrington : > > Signed-off-by: Bryce Harrington > > --- > > src/compositor.h | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/src/compositor.h b/src/compositor.h

Re: [PATCH v2] cosmetic: fix incorrect whitespace.

2015-10-29 Thread Bryce Harrington
On Wed, Oct 28, 2015 at 12:03:37PM +0900, Jon A. Cruz wrote: > Fixed instance where spaces were used instead of tabs. > > Changes since v1: > * rebased > > Signed-off-by: Jon A. Cruz Pushed: remote: I: patch #63030 updated using rev f150d7aec26d2d6f0f878f49edcca66b89265111 remote: I: 1 patch(

Re: [RFC wayland] doc: generate doxygen html output from the scanner

2015-10-29 Thread Bill Spitzak
Protocol documentation is produced directly from the xml currently. If it is merged with doxygen-produced comments then there will be duplication and possible confusion, so these header files must somehow be skipped when running doxygen. That said, it may make sense to just use this and doxygen to

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-29 Thread Bill Spitzak
On Thu, Oct 29, 2015 at 9:51 AM, Carlos Garnacho wrote: > So this x11-style "grab" still happens before start_drag on the > compositor, all it currently does face to the wayland compositor is > updating the pointer cursor, but client-side it brings the usual > grabby effects, input still taken "e

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-29 Thread Carlos Garnacho
Hey Jonas!, On Thu, Oct 29, 2015 at 9:37 AM, Jonas Ådahl wrote: > Hey Carlos, > > Finally had a look at this one. Cheers :) > > On Wed, Sep 30, 2015 at 10:45:39PM +0200, Carlos Garnacho wrote: >> Currently, there's no means for the DnD origin to know whether the >> destination is actually finis

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Daniel Stone
Hi, On 29 October 2015 at 09:25, Jonas Ådahl wrote: > On Thu, Oct 29, 2015 at 09:08:11AM +, Daniel Stone wrote: >> On 29 October 2015 at 06:54, Jonas Ådahl wrote: >> > On Thu, Oct 29, 2015 at 02:58:33PM +1000, Peter Hutterer wrote: >> >> mostly thinking aloud here: >> >> The precision that h

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Jonas Ådahl
On Thu, Oct 29, 2015 at 09:08:11AM +, Daniel Stone wrote: > Hi, > > On 29 October 2015 at 06:54, Jonas Ådahl wrote: > > On Thu, Oct 29, 2015 at 02:58:33PM +1000, Peter Hutterer wrote: > >> mostly thinking aloud here: > >> The precision that humans can consciously control a mouse with is very

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Daniel Stone
Hi, On 29 October 2015 at 06:54, Jonas Ådahl wrote: > On Thu, Oct 29, 2015 at 02:58:33PM +1000, Peter Hutterer wrote: >> mostly thinking aloud here: >> The precision that humans can consciously control a mouse with is very high. >> Whether 24.8 is insufficient for *us*, I'm not sure. >> Maybe lea

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-29 Thread Jonas Ådahl
Hey Carlos, Finally had a look at this one. On Wed, Sep 30, 2015 at 10:45:39PM +0200, Carlos Garnacho wrote: > Currently, there's no means for the DnD origin to know whether the > destination is actually finished with the DnD transaction, short of > finalizing it after the first transfer finishes

Re: [PATCH weston v3 3/3] Introduce wl_relative_pointer interface

2015-10-29 Thread Jonas Ådahl
On Thu, Oct 29, 2015 at 02:59:02PM +1000, Peter Hutterer wrote: > Sorry, long delay, but at least fresh eyes :) > > On Wed, Jul 29, 2015 at 02:39:11PM +0800, Jonas Ådahl wrote: > > A wl_relative_pointer object is an extension to the wl_pointer interface > > only used for emitting relative pointer