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

Change-Id: I90e94fbf51c22f3e918aa29c3170b6481cf46d15
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>
1 file changed
tree: 664dc6671b1dacd9f5704e48b25de7e8e6a2779d
  1. include/
  2. src/
  3. common.mk
  4. Makefile