multi-touch-dev team mailing list archive
-
multi-touch-dev team
-
Mailing list archive
-
Message #00328
Re: Ginn spec
On Thu, Aug 26, 2010 at 6:31 PM, Chase Douglas
<chase.douglas@xxxxxxxxxxxxx>wrote:
> How do you map applications to windows? Is it based on the window title?
> If so, I suggest defining the "Application" property as a regex so
> titles can be matched easily no matter what their format.
>
Yes, because I think window title matching is easier for the user than the
windowid.
I'll extend this to regex as you stated.
> As for the triggers, I think some suggestions would be helpful. For
> example, if gtk scroll events shift contents of a window by 30 pixels,
> then a suggested trigger for a scroll event through ginn should be 30
> pixels. That way a user can scroll a document and there will be a
> one-to-one mapping between physical and screen space.
>
Good point ! I also asked the question of how that trigger should be chosen
without testing.
> If toolkits have a way to dynamically set the scroll amount, it might be
> worthwhile to define a trigger that is in scroll sizes, like "1S" might
> mean 1 scroll size, which would translate to 30 pixels in the above
> scenario. I'm not sure how feasible this is, but it's worth taking a
> look at.
>
I'll look in this. Maybe we can solve the problem in the reverse way, modify
the trigger in the configuration according to the known application
scrolling value. We have here a device dependent move property and another
application dependent one. I need to look and see what is possible to do.
Otherwise, I like the concepts here.
Thanks !
i
Follow ups
References