Skip to content

Gesture Support for Mac and Linux#11

Open
MostlyKIGuess wants to merge 3 commits intogpui-ce:mainfrom
MostlyKIGuess:gesture
Open

Gesture Support for Mac and Linux#11
MostlyKIGuess wants to merge 3 commits intogpui-ce:mainfrom
MostlyKIGuess:gesture

Conversation

@MostlyKIGuess
Copy link

This change implements pinch / magnification gesture handling.

This uses the following wayland protocol. And the following API for mac.

Added an example explaining the use case.

Also have added flake.nix which might be a little bloated but seems to do the job for now.

- Add platform support for pinch gestures:
  - macOS: NSEventType::NSEventTypeMagnify
  - Wayland: zwp_pointer_gesture_pinch_v1 protocol
- Add pinch_zoom example demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant