libweston: notify_touch API to use weston_touch_device
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 26 Feb 2018 12:43:00 +0000 (14:43 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 30 May 2018 11:45:58 +0000 (14:45 +0300)
commitbcbce33000a72fd8c466b0748d17c2ff173c49aa
tree871c40d596bcd7f0777a20d2d88eca5afbd1181c
parent09fbe14e8f396f70d9132df50f759003c67b3e90
libweston: notify_touch API to use weston_touch_device

Relay touch input events into libweston core through the
weston_touch_device, so that the core can tell which individual physical
device they come from.

This is necessary for supporting touchscreen calibration, where one
needs to process a single physical device at a time instead of the
aggregate of all touch devices on the weston_seat.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
v1 Tested-by: Matt Hoosier <matt.hoosier@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
libweston/compositor-wayland.c
libweston/compositor.h
libweston/input.c
libweston/libinput-device.c
tests/weston-test.c