Bug 77769 - Add touch support to weston's Wayland backend
Summary: Add touch support to weston's Wayland backend
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 15:22 UTC by Jason Ekstrand
Modified: 2018-06-04 09:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jason Ekstrand 2014-04-22 15:22:46 UTC
Right now, Weston's nested Wayland backend doesn't support touch screens.  We really should change this as it would be nice for testing.

Adding touch support should be fairly easy and would make a good project for someone who is new to the Wayland and Weston codebases.
Comment 1 Boyan Ding 2014-05-06 02:27:10 UTC
Hi, I'm new to wayland and looking to work on it. I've implemented part of this according to the code of pointer device but I met some problems.

My understanding of this project:
1. implement the functions of a wl_touch_listener struct and in each function
2. update the status of corresponding frame(if exists) and notify the event.

The problem I met are:
1. In implementing "motion" function of the touch listener. I didn't find the frame function in shared/frame.c. Are we missing a function named 'frame_touch_motion'(like frame_pointer_motion)?
2. Do we have to take action on the "frame" or "cancel" event of wl_touch? If so, what should we do?

Please forgive my probably stupid questions for I'm still new to wayland and weston.
Comment 3 Daniel Stone 2018-06-04 09:31:27 UTC
This landed ages ago.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.