Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libinput
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 142
    • Issues 142
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libinput
  • libinput
  • Merge requests
  • !293

WIP: add "hold" gestures

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Peter Hutterer requested to merge whot/libinput:wip/hold-gestures into main Sep 20, 2019
  • Overview 17
  • Commits 6
  • Pipelines 2
  • Changes 6

SUPERSEDED by !602 (merged)

Hold gestures are notifications about fingers on the touchpad. There is no coordinate attached to a hold gesture, merely the number of fingers. A hold gesture starts when the user places a finger on the touchpad and ends when all fingers are lifted. it is cancelled when the finger(s) move past applicable thresholds and trigger some other interaction like pointer movement or scrolling.

Hold gestures are primarily designed for two interactions:

  • stopping a kinetic scroll sequence
  • hold-to-click - pop up a menu or execute an action while holding still

This MR is the initial draft, it's just the documentation for now and no code, largely because the interactions with tapping, etc. are a bit iffy.

Feedback appreciated.

Fixes #300 (closed)

cc @jadahl, @carlosg, @pq, @emersion, @daniels, @rhendric, @mdmayfield

Known issues:

  • adding hold gestures makes the CAP_GESTURE effectively useless as any device can now do gestures
Edited Jun 09, 2021 by Peter Hutterer
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/hold-gestures