summaryrefslogtreecommitdiff
path: root/src/grail-gestures.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify touch machineryHenrik Rydberg2010-08-191-12/+12
| | | | | | | | | | To be able to model touch information uniformly across all supported devices, the semantics of the touch attributes has to be treated explicitly. Drop the generic touch property array and replace it by an actual structure. In addition, the touch-engine abstraction turned out to not be needed, so drop it as well. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* split out bounding box computationHenrik Rydberg2010-08-111-0/+24
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: conformant argument order in apiHenrik Rydberg2010-08-111-1/+1
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* change rotation units to anglesHenrik Rydberg2010-08-101-5/+5
| | | | | | | Use angle units, such that a complete revolution corresponds to 2 pi. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Filter abs events by default in grail-gestureHenrik Rydberg2010-08-101-1/+5
| | | | | | Also connect the timeout for press with the timeout of tapping. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add property declarations to grail-typesHenrik Rydberg2010-08-101-23/+37
| | | | | | Also add accumulated values for delta and velocity properties. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Trim the bars for action somewhatHenrik Rydberg2010-08-081-2/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Keep both raw and action delta in move modelHenrik Rydberg2010-08-081-18/+21
| | | | | | | | | Accumulated values can be obtained either by using the raw_delta, which is the actual (filtered) change between frames, or by using the action delta, which sums up to the same position, but in a non- linear fashion. Use the raw delta for pointer gestures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Send proper begin/update/end status for gesturesHenrik Rydberg2010-08-071-2/+1
| | | | | | For transient gestures like taps, use update only. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* gesture: Improved tickle/active logicHenrik Rydberg2010-08-071-68/+66
| | | | | Reorganize the mode model to use bitmasks for tickle and active, and refine the tickle logic for each gesture.
* move: accumulate delta while inactiveHenrik Rydberg2010-08-071-3/+8
|
* treat one-finger moves in move model and simplify tapping logicHenrik Rydberg2010-08-071-1/+12
|
* Update README and copyright in all filesHenrik Rydberg2010-08-061-3/+1
| | | | | | Add the author to the copyright, courtesy of Canonical Ltd. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* initial bzr repo at rev 27Henrik Rydberg2010-08-061-0/+188