summaryrefslogtreecommitdiff
path: root/src/frame-xi2.c
Commit message (Collapse)AuthorAgeFilesLines
* Disable time-dependent filtering for current XI2.1Henrik Rydberg2011-02-221-1/+17
| | | | | | | | | Velocity-adjusted positioning and Kalman filters depend on accurate time stamps on events. Until we have device event times, disable this functionality for XI2.1 Tested-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Fix ABS_MT_DISTANCE compilation conditionalHenrik Rydberg2011-02-221-1/+3
| | | | | | | | The ABS_MT_DISTANCE is new, and the corresponding entry in xserver-properties.h is even newer. Make compilation conditional on the existence of those two defines. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Adjust to xi2 api changesHenrik Rydberg2011-02-211-1/+1
| | | | | | | The touch event types have new names since February 2011. Modify accordingly. 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>
* Optional XI2.1 supportHenrik Rydberg2011-02-151-0/+302
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>