Wayland - Beyond X (The H)
Posted Feb 15, 2012 12:15 UTC (Wed) by farnz
In reply to: Wayland - Beyond X (The H)
Parent article: Wayland - Beyond X (The H)
Wayland's way of addressing them is simple - it doesn't have a historic protocol to worry about, so it can assume that you are multitouch aware. It handles them the same way XI2 does when dealing with XI2 clients.
Specifically addressing the three points I made earlier:
- When you have multiple touch points, Wayland reports all the touch points individually, including their locations, and the client is expected to work out what that means. For example, it could highlight a button if any of the touch points are within that button, if that's appropriate for this client.
- Touch event streams are terminated with either a "touch complete - go process" or "actually, that was the beginning of a global gesture - ignore it" event. This lets applications provide feedback to the user as the touch happens (e.g. drag pointer instead of normal pointer), but delay taking action until the touch completes.
- You get events from each input device individually, so the client can distinguish event streams from multiple mice.
to post comments)