diff options
author | Chung-yih Wang <cywang@chromium.org> | 2012-06-29 16:48:14 +0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-02 20:36:47 -0700 |
commit | 346841f5daaa3339641de561f6f1efddb98262c8 (patch) | |
tree | 6280f90942a41fb8bf1f756b3f351479b1cf3214 /tools | |
parent | 59088530f4709aa9eb32f19030662b07da33923a (diff) | |
download | libchrome-gestures-346841f5daaa3339641de561f6f1efddb98262c8.tar.gz |
SemiMt: Force incoming samples to "semi-mt" kernel format.
The SemiMtCorrectingFilterInterpreter processes fingers in the Kernel's
"Semi-MT" provides a bounding box format:
slot[0] = (min_x, max_y)
slot[1] = (max_x, min_y)
By forcing this format on incoming 2-finger data, the existing
SemiMtCorrectingFilterInterpreter can work with kernel drivers that provide
data in either semi-mt or (two-finger) MT-B format.
This is in preparation of a future change to the Cr48 touchpad kernel driver,
which may start to provide the original fingers as reported by the firmware,
and not a bounding box.
BUG=chromium-os:32257
TEST=unittest;
Change-Id: Iecf5df911cff7b50dc7f7bd72d01336484a7b413
Reviewed-on: https://gerrit.chromium.org/gerrit/26408
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Ready: Chung-yih Wang <cywang@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions