summaryrefslogtreecommitdiff
path: root/include/utouch
Commit message (Collapse)AuthorAgeFilesLines
* Add functions to extract number of frames and slotsHenrik Rydberg2011-02-171-0/+14
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add velocity estimateHenrik Rydberg2011-02-161-0/+4
| | | | | | | | 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>
* Optional XI2.1 supportHenrik Rydberg2011-02-151-0/+49
| | | | | | | | | | | | This patchs adds optional XI2.1 support to utouch-frame. The utouch/frame-xi2.h header contains helper functions equivalent to utouch/frame-mtdev.h. In addition, the device-to-screen mapping is handled via XEvents and optionally XIPropertyEvent. The latter allows free device placement via xinput set-prop, useful in multi- head setups, thanks to Chase Douglas. Touch frame events can be tested using the utouch-frame-test-xi2 tool. Use --with-xi to enable. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add set slot by touch id utilityHenrik Rydberg2011-02-151-0/+11
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Map device coordinates onto target surfaceHenrik Rydberg2011-02-151-6/+24
| | | | | | | | | | | | 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>
* Add C++ header integrationHenrik Rydberg2011-02-142-0/+16
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Initial load of utouch-framev1.0.0Henrik Rydberg2010-12-302-0/+289
Compiles and runs on mtdev. ABI proof. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>