hydrusnetwork / hydrusnetwork/hydrus
Native gesture support (e.g. macOS trackpad pinch) in shortcuts mouse events
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
I'd like it if shortcuts could recognize native gestures from OSes that support them. For me I'm only concerned about macOS but I know that Windows has some gestures too, so this feature is not macOS specific. I have no experience working with Qt but I did find documentation for the QNativeGestureEvent class that specifically mentions some macOS touch sequences such as the pinch zoom. You know, this thing:

An example of how one might use these gestures:
- Pinch gesture = zoom in/out.
- "Double tap" smart zoom gesture = switch between 100% and canvas fit.
- Rotate gesture = move animation frames forward/backward.
Windows users, please chime in with what your OS supports.
Contributor guide
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
Start with the Qt QNativeGestureEvent documentation linked in the issue and locate the shortcuts mouse-event handling. Determine which native gestures macOS and Windows expose and how the existing shortcut system receives mouse input. Done means the requested pinch, smart-zoom, and rotate gestures can be recognized and mapped to shortcut actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100