[PATCH weston 10/10] evdev: log when a device is used as touchpad
Kristian Høgsberg
hoegsberg at gmail.com
Thu Aug 8 14:06:20 PDT 2013
On Wed, Aug 07, 2013 at 11:04:49AM +1000, Peter Hutterer wrote:
> ---
> src/evdev.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
I picked up the remaining patches from this series, thanks.
Kristian
> diff --git a/src/evdev.c b/src/evdev.c
> index 7bacbd9..ab35582 100644
> --- a/src/evdev.c
> +++ b/src/evdev.c
> @@ -495,8 +495,11 @@ evdev_handle_device(struct evdev_device *device)
> key_bits);
> if (TEST_BIT(key_bits, BTN_TOOL_FINGER) &&
> !TEST_BIT(key_bits, BTN_TOOL_PEN) &&
> - has_abs)
> + has_abs) {
> device->dispatch = evdev_touchpad_create(device);
> + weston_log("input device %s, %s is a touchpad\n",
> + device->devname, device->devnode);
> + }
> for (i = KEY_ESC; i < KEY_MAX; i++) {
> if (i >= BTN_MISC && i < KEY_OK)
> continue;
> --
> 1.8.2.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list