Suppress out of range warning messages
If touchpad firmware does not report correct boundaries of touchpad
surface, the library keeps printing out warning messages in Xorg.0.log
once a finger is on the 'out of range' position. The patch tries to
suppress this kind of messages by updating effective boundary of X/Y
axis once the reported event is out of current range.
BUG=chromium-os:16477
TEST=on device; move a finger around the boundaries of the touchpad
and see if the warning messages should be suppressed by updating
X and Y ranges
Reviewed-on: https://gerrit.chromium.org/gerrit/40427
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
(cherry picked from commit f573f89d66c0562b96c352cc3c688c25981928f4)
Change-Id: I566e2aa305c7d7c697f8e677930128224c9cbc35
Reviewed-on: https://gerrit.chromium.org/gerrit/41086
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Commit-Queue: Chung-yih Wang <cywang@chromium.org>
Tested-by: Chung-yih Wang <cywang@chromium.org>
1 file changed