ScalingFilterInterpreter: Special-case small mice moves

When using mice, it's frustrating when moving one device pixel moves
the cursor > 1 pixels on the screen. This CL avoids this problem by
looking for the special case of exactly 1 device pixel move, then
reducing the motion to just 1 pixel of motion.

We actually go a little under 1 pixel because it will be increased on
external displays later in the stack.

BUG=chromium:412864
TEST=logitech-t620/low_dpi_move regression test
Change-Id: I822237cb4acec30dd7e1e78d6e15e5cc9b8e2543
Reviewed-on: https://chromium-review.googlesource.com/217496
Reviewed-by: Charles Mooney <charliemooney@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Commit-Queue: Andrew de los Reyes <adlr@chromium.org>
1 file changed