Support wl_touch and send wl_touch events to client

Desktop / Enlightenment / Enlightenment - jhyuni.kang [samsung.com] - 13 May 2015 11:05 UTC

Summary: Currently enlightenment-wayland support pointer and keyboard events.(in input) So I added EVAS_CALLBACK_MULTI_* event handler and hanling functions for wl_touch interface. This code send wl_touch events to client like a pointer event.

Test Plan: In wayland + enlightenment environment, generate multi touch events. The enlightenment will be send wl_touch events to client.

Reviewers: raster, devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2482

c59595e Support wl_touch and send wl_touch events to client
src/bin/e_comp_wl.c | 91 ++++++++++++++++++++++++++++++++++++++-
src/bin/e_comp_wl_input.c | 75 ++++++++++++++++++++++++++------
src/bin/e_comp_wl_input.h | 5 ++-
src/modules/wl_drm/e_mod_main.c | 5 ++-
src/modules/wl_x11/e_mod_main.c | 5 ++-
5 files changed, 160 insertions(+), 21 deletions(-)

Upstream: git.enlightenment.org


  • Share