Re: [PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 11:32:25 +0200 Jonny Lamb jonny.l...@collabora.co.uk wrote: In the process wl_keyboard's version has been incremented. Given clients get the wl_keyboard from wl_seat without a version, wl_seat's version has also been incremented (wl_seat version 4 implies wl_keyboard

Re: [PATCH weston] input: send wl_keyboard.repeat_info with rate and delay info

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 11:32:24 +0200 Jonny Lamb jonny.l...@collabora.co.uk wrote: The compositor reads the values out from weston.ini, the weston compositor passes on the values, the weston-info client prints out the values, and the values are respected in toytoolkit. ---

Build steps

2014-06-02 Thread Kishore Divvela -ERS, HCL Tech
Hi Daniel, Can I use the build steps which is available in http://wayland.freedesktop.org/building.html. Regards, Kishore ::DISCLAIMER:: The

Re: Build steps

2014-06-02 Thread Daniel Stone
On 2 June 2014 08:44, Kishore Divvela -ERS, HCL Tech kishor...@hcl.com wrote: Can I use the build steps which is available in http://wayland.freedesktop.org/building.html. Yes. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

Re: Weston multitouch support?

2014-06-02 Thread José Expósito
Hi Peter, I have checked the libinput implementation and, correct me if I'm wrong, I have seen that 2 fingers click is interpreted as right click, 3 fingers click is interpreted as middle click and there are some special rules for specified trackpads, like corner clicks. Does that mean that the

[PATCH weston client window] Fixed the input region of the popup menu

2014-06-02 Thread Tomek Obrebski
Changed the input region of the menu popup window to exclude the shadow and border regions and set to frame's internal region only. Regards, blsd --- clients/window.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index

Re: [PATCH 0/2] RDP Keyboard

2014-06-02 Thread Hardening
Le 26/05/2014 17:22, Hardening a écrit : I'm resending this serie of patches that are related to keyboard with the RDP compositor. The first one make weston support more RDP keyboard (RDP to Xkb convertion). The second make use of buildin FreeRDP functions instead of reinventing the wheel.

Re: [PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-06-02 Thread Giulio Camuffo
2014-06-02 9:36 GMT+02:00 Pekka Paalanen ppaala...@gmail.com: On Mon, 2 Jun 2014 10:22:40 +0300 Pekka Paalanen ppaala...@gmail.com wrote: On Fri, 30 May 2014 11:32:25 +0200 Jonny Lamb jonny.l...@collabora.co.uk wrote: In the process wl_keyboard's version has been incremented. Given

Re: [PATCH libinput 0/24] Tablet support

2014-06-02 Thread Bill Spitzak
On 06/01/2014 09:18 PM, Peter Hutterer wrote: libinput doesn't communicate over the wire, li_fixed_t is a leftover from libinput being part of weston. Switching that to double would indeed make things a lot easier and decouple libinput from wl-protocol-specific things. I'd be all up for it,

Re: [PATCH wayland-web 0/7] Version 5 of build instructions patch

2014-06-02 Thread Bill Spitzak
On 06/01/2014 12:59 AM, Pekka Paalanen wrote: On Fri, 30 May 2014 14:12:28 -0700 Bill Spitzak spit...@gmail.com wrote: This is a duplicate posting but I removed the in-reply-to because that seems to have hidden it, as there have been no comments. You can go look at

Re: Getting egl clients to work

2014-06-02 Thread Bill Spitzak
Actually all I am trying to do is get software EGL to work. I did not think there was a chance at all that the nVidia drivers could be used. But maybe it is a possibility... Sounds like you are using Mesa (software renderer) on your system otherwise using Nvidia proprietary stack (right?).

Re: Getting egl clients to work

2014-06-02 Thread Pekka Paalanen
On Mon, 02 Jun 2014 10:46:29 -0700 Bill Spitzak spit...@gmail.com wrote: Actually all I am trying to do is get software EGL to work. I did not think there was a chance at all that the nVidia drivers could be used. But maybe it is a possibility... Sounds like you are using Mesa (software

Re: [PATCH libinput 0/24] Tablet support

2014-06-02 Thread Jonas Ådahl
On Mon, Jun 02, 2014 at 10:25:02AM -0700, Bill Spitzak wrote: On 06/01/2014 09:18 PM, Peter Hutterer wrote: libinput doesn't communicate over the wire, li_fixed_t is a leftover from libinput being part of weston. Switching that to double would indeed make things a lot easier and decouple

Re: Getting egl clients to work

2014-06-02 Thread Bill Spitzak
I recompiled mesa with --enable-gallium-egl (is there a reason this is disabled in the build instructions?). This certainly had some effect but the egl test program still fails: $ weston/weston-simple-egl ... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search

[PATCH 1/2] libinput: evdev.c: use correct fallback value for KEY_LIGHTS_TOGGLE

2014-06-02 Thread Peter Korsgaard
The kernel defines KEY_LIGHTS_TOGGLE as 0x21e, not 0x160 (which is KEY_OK). Signed-off-by: Peter Korsgaard pe...@korsgaard.com --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index ed5749e..3053764 100644 --- a/src/evdev.c +++

[PATCH 2/2] libinput: evdev.c: provide fallback definition for KEY_MICMUTE

2014-06-02 Thread Peter Korsgaard
KEY_MICMUTE was added relatively recently (3.1 with 33009557bd: Add KEY_MICMUTE and enable it on Lenovo X220), so provide a fallback definition similar to how we do it for KEY_LIGHTS_TOGGLE to fix compilation with older toolchains. Signed-off-by: Peter Korsgaard pe...@korsgaard.com ---

Re: [PATCH 2/2] libinput: evdev.c: provide fallback definition for KEY_MICMUTE

2014-06-02 Thread Jonas Ådahl
On Mon, Jun 02, 2014 at 11:11:31PM +0200, Peter Korsgaard wrote: KEY_MICMUTE was added relatively recently (3.1 with 33009557bd: Add KEY_MICMUTE and enable it on Lenovo X220), so provide a fallback definition similar to how we do it for KEY_LIGHTS_TOGGLE to fix compilation with older

[RFC libinput] Use floating point numbers instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Fixed point numbers can easily overflow, and double to fixed point conversion is lossy. Use floating point (double) where fixed point numbers where previously used and remove the li_fixed_t type. Signed-off-by: Jonas Ådahl jad...@gmail.com --- It has been brought up a couple of times that it

[PATCH weston] libinput: Use floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/libinput-device.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/libinput-device.c b/src/libinput-device.c index 4605a76..2ba4ec3 100644 --- a/src/libinput-device.c +++

[PATCH xf86-input-libinput] Use floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/libinput.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/libinput.c b/src/libinput.c index 9221ec7..1851157 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -347,14 +347,14 @@

[PATCH clutter] evdev: Used floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
--- clutter/evdev/clutter-device-manager-evdev.c | 40 ++-- clutter/evdev/clutter-input-device-evdev.h | 2 -- 2 files changed, 14 insertions(+), 28 deletions(-) diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c

[PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Peter Hutterer
Avoids having to #define any values we're trying to use. Header file is from Linux 3.15-rc8. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- include/linux/input.h | 1174 +++ src/Makefile.am |6 +-

Re: Weston multitouch support?

2014-06-02 Thread Peter Hutterer
On Mon, Jun 02, 2014 at 12:45:51PM +0100, José Expósito wrote: Hi Peter, I have checked the libinput implementation and, correct me if I'm wrong, I have seen that 2 fingers click is interpreted as right click, 3 fingers click is interpreted as middle click and there are some special rules

Re: [RFC libinput] Use floating point numbers instead of fixed point numbers

2014-06-02 Thread Peter Hutterer
On Mon, Jun 02, 2014 at 11:42:10PM +0200, Jonas Ådahl wrote: Fixed point numbers can easily overflow, and double to fixed point conversion is lossy. Use floating point (double) where fixed point numbers where previously used and remove the li_fixed_t type. Signed-off-by: Jonas Ådahl

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Thiago Macieira
Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu: Avoids having to #define any values we're trying to use. Header file is from Linux 3.15-rc8. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Wouldn't this be time as well to start using a different include than

[PATCH libinput 03/10] touchpad: hook up to the tapping configuration

2014-06-02 Thread Peter Hutterer
Now that we have run-time changes of the tap.enabled state move the check to the IDLE state only. Otherwise the tap machine may hang if tapping is disabled while a gesture is in progress. Two basic tests are added to check for the tap default setting - which is now tap disabled by default,

[PATCH libinput 02/10] Add an interface to enable/disable tapping

2014-06-02 Thread Peter Hutterer
Provide an interface to enable/disable tapping, with a default mapping of 1/2/3 fingers mapping to L/R/M button events, respectively. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput-private.h | 13 + src/libinput.c | 33 +++

[PATCH libinput 04/10] Add a config interface for scroll methods

2014-06-02 Thread Peter Hutterer
--- src/libinput-private.h | 9 ++ src/libinput.c | 35 src/libinput.h | 74 ++ 3 files changed, 118 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-private.h index 020167e..d3570a4

[PATCH libinput 01/10] Add an enum for configuration return codes

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput.h | 32 1 file changed, 32 insertions(+) diff --git a/src/libinput.h b/src/libinput.h index d771e21..c9ec71a 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -1330,6 +1330,38 @@ int

[RFC libinput 00/10] Add a configuration interface

2014-06-02 Thread Peter Hutterer
This is not finished just yet, but I figured I might as well send what I have locally for some early feedback. The tapping and scrolling is already hooked into the touchpad code (even though scrolling is hardcoded), the rest is pretty much just there to show how the config interface would look

[PATCH libinput 05/10] touchpad: hook up scroll config

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev-mt-touchpad.c | 43 +++ src/evdev-mt-touchpad.h | 1 + 2 files changed, 44 insertions(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 26d5f7d..c1c994a 100644 ---

[PATCH libinput 06/10] Add a config interface to change device rotation

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput-private.h | 9 +++ src/libinput.c | 33 src/libinput.h | 69 ++ 3 files changed, 111 insertions(+) diff --git

[PATCH libinput 07/10] Add a basic pointer acceleration API

2014-06-02 Thread Peter Hutterer
Only exposes two knobs - speed and precision which have historically been the only two knobs exposed anyway on most UIs. We could go for something fancier but really, I think this will be enough. The only open question is whether speed will be enough for high-dpi devices. Signed-off-by: Peter

[PATCH libinput 08/10] Add a config API for disable-while-typing

2014-06-02 Thread Peter Hutterer
--- src/libinput-private.h | 9 src/libinput.c | 33 + src/libinput.h | 56 ++ 3 files changed, 98 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-private.h index