[Feature Request] Zoom and pan with touchpad gestures
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Expected behavior of the wanted feature
Let's make it possible to zoom and pan via multitouch (2 fingers) gestures on a touchpad on desktop platforms.
At least on Linux pinch events from libinput can be used, which I believe is what Firefox doing: GESTURE_PINCH_BEGIN, GESTURE_PINCH_UPDATE and GESTURE_PINCH_END. Other major platforms such as OS X and Windows surely provide their own system API as well.
Use case: watching 4K footage on a FullHD monitor, quickly zooming in to see the details.
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating mpv's desktop input handling and reviewing the Linux libinput gesture events listed in the issue, then compare the required platform APIs for macOS and Windows. Done means two-finger touchpad gestures reliably pan and zoom video on supported desktop platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100