mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 23:50:45 +01:00
Instead of adding a new ENABLED_HOLD enum value, modify the existing ENABLED lock mode so that hold+scroll+release doesn't engage the lock. Add a 500ms grace period: if the button was held and used to scroll for longer than 500ms, releasing the button does not engage the lock (temporary scroll). If released within 500ms (e.g. shaky hands triggering accidental motion), the lock still engages as before. This fixes the unintuitive behavior where the lock engages even after actively scrolling, without requiring new API surface. Closes: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1259 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1435> |
||
|---|---|---|
| .. | ||
| api | ||
| user | ||
| button-debouncing-state-machine.svg | ||
| button-debouncing-wave-diagram.txt | ||
| middle-button-emulation.svg | ||
| touchpad-edge-scrolling-state-machine.svg | ||
| touchpad-gestures-state-machine.svg | ||
| touchpad-softbutton-state-machine.svg | ||
| touchpad-tap-state-machine.svg | ||