mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-04 15:20:28 +01:00
In the protocol it's a new request/event that is sent instead of the touch up event. In the library this is implemented as ei_touch_cancel() which transparently sends cancel() or up depending on the EIS implementation support. This is mirrored for the EIS implementation. Where touch cancel is received as an event it is presented as EI_EVENT_TOUCH_UP with an ei_event_touch_is_cancel() flag to check if it was a cancel. This is required for backwards compatbility, we cannot replace the TOUCH_UP event with a TOUCH_CANCEL event without breaking existing callers. To add a new event type we would need clients announcing support for those event types but that's an effort that's better postponed until we have a stronger need for it (see #68). Closes #60 Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/308> |
||
|---|---|---|
| .. | ||
| ei-scanner | ||
| meson.build | ||
| protocol.dtd | ||
| protocol.xml | ||