| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
The XI2.1 support is present in sufficiently recent xinput packages,
so simplify the testing accordingly.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
| |
The touch event types have new names since February 2011. Modify
accordingly.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
| |
The current code erroneously extracts the device properties from
the evemu device, when there is a utouch surface structure to read
from. Remedied with this patch.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
Signed-off-by: Stephen M. Webb <stephen.webb@canonical.com>w
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
|
|
Compiles and runs on mtdev. ABI proof.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|