Enum wayland_client::wayland::seat::WlTouchEvent
[−]
[src]
pub enum WlTouchEvent { Down(u32, u32, ProxyId, i32, f64, f64), Up(u32, u32, i32), Motion(u32, i32, f64, f64), Frame, Cancel, }
Variants
Down(u32, u32, ProxyId, i32, f64, f64)
touch down event and beginning of a touch sequence
A new touch point has appeared on the surface. This touch point is assigned a unique @id. Future events from this touchpoint reference this ID. The ID ceases to be valid after a touch up event and may be re-used in the future.
Values: serial, time, surface, id, x, y,
Up(u32, u32, i32)
end of a touch event sequence
The touch point has disappeared. No further events will be sent for this touchpoint and the touch point's ID is released and may be re-used in a future touch down event.
Values: serial, time, id,
Motion(u32, i32, f64, f64)
update of touch point coordinates
A touchpoint has changed coordinates.
Values: time, id, x, y,
Frame
end of touch frame event
Indicates the end of a contact point list.
Cancel
touch session cancelled
Sent if the compositor decides the touch stream is a global gesture. No further events are sent to the clients from that particular gesture. Touch cancellation applies to all touch points currently active on this client's surface. The client is responsible for finalizing the touch points, future touch points on this surface may re-use the touch point ID.