multi-touch-dev team mailing list archive
Mailing list archive
Re: unity-2d and GEIS
On Sat, 2011-03-12 at 16:19 +0100, Florian Boucault wrote:
> Thanks for the help guys.
> The bug was filed against Unity 2D:
> And fixed:
> I expect the fix to be reviewed probably on Monday and therefore landing
> in the daily builds (PPA) ready to test on Tuesday.
> The fix was trivial though I think it denoted an API change in GEIS.
There was no API change. The attribute data associated with gestures is
variable, including whatever gesture name string is passed. This name
could be different depending on what recognizer is used, for example if
GEIS were wrapping native Windows or Mac OS gesture recognition.
It is preferable to use the gesture_type parameter passed in to the
callback to determine the gesture type rather than extracting and
comparing the name attribute.
Stephen M. Webb <stephen.webb@xxxxxxxxxxxxx>