summaryrefslogtreecommitdiff
path: root/src/frame-mtdev.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not accept non-mt devices until emulation is in placeHenrik Rydberg2011-02-241-0/+3
| | | | | | | | The current code accepts multi-finger non-mt devices such as older synaptics trackpads, which breaks things since emulation of these devices is not in place. Fixed with this patch. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add velocity estimateHenrik Rydberg2011-02-161-0/+2
| | | | | | | | The per-touch velocity is useful in many contexts. This patch adds a simple estimator of the velocity, which also smooths out position jumps caused by course-grained event updates. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Map device coordinates onto target surfaceHenrik Rydberg2011-02-151-10/+12
| | | | | | | | | | | | The current implementation outputs most touch attributes in device coordinates. However, the primary use case is to map the input device onto an area on the screen, needed in particular for multihead setups. Moreover, the XI2.1 backend works with screen coordinates, creating an unnecessary discrepancy between backends. This patch adds the basic transformation layer to the utouch surface, thus serving as the master point of device-to-surface mapping. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Use udev heuristic for non-property devicesHenrik Rydberg2011-02-141-4/+25
| | | | | | | | | Setup device properties based on udev heuristic for non-property, devices. This patch only treats the cases POINTER && !DIRECT and !POINTER && DIRECT the digitizer case, POINTER && DIRECT, is assumed to be handled properly by the kernel properties. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Initial load of utouch-framev1.0.0Henrik Rydberg2010-12-301-0/+189
Compiles and runs on mtdev. ABI proof. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>