summaryrefslogtreecommitdiff
path: root/src/touch-dev.c
Commit message (Collapse)AuthorAgeFilesLines
* Support legacy devicesHenrik Rydberg2010-09-091-2/+85
| | | | | | | | | Simulate MT touch events for legacy devices that support the DOUBLETAP, TRIPLETAP and QUADTAP events. This allows multi-finger tap and drag gestures to be emitted, providing a basic level of MT functionality for legacy devices. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Make sure contact area is always definedHenrik Rydberg2010-09-091-0/+6
| | | | | | | | | Some devices do not always send touch_minor after touch_major has been set. According to the MT protocol, this case should be treated as if minor is equal to major. This patch makes sure touch_minor is never zero when touch_major is set. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Simplify touch machineryHenrik Rydberg2010-08-191-100/+64
| | | | | | | | | | 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>
* Remove unused declarationsHenrik Rydberg2010-08-071-5/+0
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* 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/+218