Pinch zooming/unzooming

Issue #17 on hold
Robert Leach created an issue

Applicable only to magic mice and track pads.

Comments (9)

  1. Robert Leach reporter
    • changed status to open

    This is now possible with the smooth zooming routines I have implemented, though that's not to say we should implement this. There might be other reasons to skip it, such as - people just might not use it, or we might not have a way to capture a pinch event...

  2. Robert Leach reporter

    Perhaps addressing this in java/swing then is not the way to go. It at least sounds like it would be difficult if not buggy. However, it might be possible to create custom actions for gestures such as pinch specifically for our app, like the way you can create keyboard shortcuts in the keyboard prefs in System Preferences. You might check out third party tools, like:

    BetterTouchTool: http://www.bettertouchtool.net

    MagicPrefs: http://computers.tutsplus.com/tutorials/setting-up-custom-trackpad-gestures-on-your-mac--mac-47668

    So I could imagine a pinch gesture being mapped as a system shortcut like this:

    • pinch maps to the +/- keys
    • drag maps to the arrow keys
    • ... stuff like that

    We could even create a keyboard shortcut that zooms into/out from the cursor position.

    All this would make this issue however a packaging issue and thus, on hold. However, we could ship an exported prefs file for an app like one of the above and mention in the documentation that the app is compatible with these 3rd party "extensions".

  3. Log in to comment