mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-06-04 17:38:19 +02:00
doc: fix reference to non-existent 'hold update' event in gestures.rst
There is no LIBINPUT_EVENT_GESTURE_HOLD_UPDATE event in the API. When a finger is detected as thumb/palm during a hold and other fingers remain, the implementation cancels the current hold and starts a new one with an updated finger count. Update the documentation to describe the actual behavior. Co-authored-by: Claude <noreply@anthropic.com> Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1469>
This commit is contained in:
parent
fdd43a4fcd
commit
2400a5c128
1 changed files with 2 additions and 1 deletions
|
|
@ -254,7 +254,8 @@ towards an interaction, see :ref:`thumb_detection` and
|
|||
|
||||
In the context of hold gestures, thumbs and palms are treated by libinput as
|
||||
if the finger was removed from the device. Where other non-thumb/non-palm
|
||||
fingers remain on the device, an **hold update** event is sent. Otherwise,
|
||||
fingers remain on the device, the current hold gesture is cancelled and a
|
||||
new **hold begin** event with the updated finger count is sent. Otherwise,
|
||||
the hold gesture terminates with a **hold cancel** event.
|
||||
|
||||
Notably, libinput's thumb and palm detection is not a simple boolean per
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue