- Home /
Magic Trackpad gesture support
Hi, I'm developing a mac application where I'd like to be able to use Apple Magic Trackpad gestures to make it easier to use for laptop users.
From some quick research it appears that these gestures are not yet supported in Unity and it just impersonates a mouse input. Can anyone confirm this?
It would be great to have pinch to zoom so any suggestions to how this can be done using the trackpad will be appreciated!
Answer by jonas-echterhoff · Aug 10, 2011 at 12:50 PM
We do get gesture input in the editor (you can zoom to maximize views). But for gesture support in the runtime, we could currently only implement it in the standalone builds, as current OS X browser implementation will not relay gesture events to plug-ins.
Hi Jonas, thanks for your reply. How would I detect a gesture event in a $$anonymous$$ac standalone build?
You cannot right now (Well, possibly using a plugin in Objective-C). What I meant was that it would only be technically feasible for us to expose this in standalone builds, but not in the web player. Until there is a clear venue for bringing this to all platforms, I'd rather not do it, as it would bring us many questions and bug reports why it does not work everywhere.
As this thread is getting old I wonder if this is still true?
Answer by nasir_41 · Jan 07, 2020 at 06:26 AM
"But for gesture support in the runtime, we could currently only implement it in the standalone builds"
How can I get gesture input? I'm currently not able to read mac trackpad input in my game on standalone build.
Your answer
![](https://koobas.hobune.stream/wayback/20220612174037im_/https://answers.unity.com/themes/thub/images/avi.jpg)