doc: fix simplified hold gesture table in gestures.rst

The simplified table showed 'Finger 1 down' producing '<no event>' but
all the detailed examples later in the same document show that a single
finger down triggers a hold begin event with finger count 1, followed by
a cancel and new begin when the second finger arrives. Update the
simplified table to be consistent with the detailed examples and the
actual implementation.

Co-authored-by: Claude <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1469>
This commit is contained in:
Peter Hutterer 2026-04-17 11:58:33 +10:00 committed by Marge Bot
parent 2400a5c128
commit 60028ea595

View file

@ -108,14 +108,15 @@ Hold gestures have three potential logical states:
For example, a user that puts one finger, then a second finger down and
releases them later may trigger the following event sequence:
============= ============ ============
Action Event Finger count
============= ============ ============
Finger 1 down <no event>
Finger 2 down **begin** 2
Finger 2 up **end** 2
============= ============== ============
Action Event Finger count
============= ============== ============
Finger 1 down **begin** 1
Finger 2 down **cancel** 1
\ **begin** 2
Finger 2 up **end** 2
Finger 1 up <no event>
============= ============ ============
============= ============== ============
A hold gesture may by be **cancelled**. This occurs
when the hold gesture changes into some other interaction and should no