Comment 7 for bug 740213

Revision history for this message
Josh Fee (joshfee) wrote : Re: Two finger trackpad scrolling inverted when using ginn

The attached patch will make it so that only gestures used in the wishes file are subscribed. It determines the type of gesture based on the triggers used in each wish (as per the man file). I could not find a better way to determine the gesture type since the "Gesture Name" is not actually stored (should either the name or an ID be stored for easier checking?).

I have not checked for applicable devices. I don't think this is completely necessary. If the user would like to subscribe to two-finger drags then they should be able to, regardless of the touch device. On the other hand, a tablet/laptop user may want certain gestures for their touchscreen and different gestures for their track pad. How should we account for this?

One thing I noticed and had a little trouble with at first was that application-specific wishes are stored in a separate structure from global wishes. I think that global gestures should be stored in the same apps structure with its appName being NULL. This is just a thought, and I'll wait for feedback before adding this as a bug.