[mythtv] Re: [mythtv-commits] Re: Ticket #791: Mouse (Click and gesture) Support in the new UI

Robert Johnston anaerin at gmail.com
Sun Dec 11 19:04:28 EST 2005

> by "gesture and hold" do you mean something like mouse gestures like Opera
> uses?

Okay, let's say you divide the screen up into 9 segments:


Then you take a sample every 10th of a second (As an example) and see
where the mouse button is being held down, logging that number. So if
you pressed once and released, it'd be a "5". If you pressed down and
moved right, it'd be a "5,6" (Or a "4,5,6", depending on how far you

A standard "Gesture" would be something like "Down" = "2,5,8", so when
a movement from 2 to 5, and then from 5 to 8 is detected, the "Down"
is recognised.

By "Gesture and hold", I mean something like "2,5,8,8,8,8,8,8,8,8,8"
(Where you keep holding down but stay still on one spot). In my view,
this would cause the client to register "Down", then note that the
gesture is not complete and is not changing (Into, say, an L

So, instead of having to make a "Down" gesture over and over again,
you can make one "Down" gesture, and hold in the final position 'til
the right number of repetitions has taken place (So to turn the volume
down to 10%, or to fast-wind at 120x from standard playback).
Robert "Anaerin" Johnston

More information about the mythtv-dev mailing list