The touchpad scrolling event is updated to send the exact fractional numbers
The integral_gesture_filter is removed from the touchpad filters. Therefore,
the output of the touchpad can be a fractional number. This helps to have a smoother
scrolling on big screens.
BUG=chromium:344614
TEST=Manually tested and the xinput reports floating point numbers
Change-Id: Iaaf70da796eed63a7fd6d8e7adf259af72db1aa2
Reviewed-on: https://chromium-review.googlesource.com/229084
Reviewed-by: Tai-Hsu Lin <sheckylin@chromium.org>
Commit-Queue: Amirhossein Simjour <asimjour@chromium.org>
Tested-by: Amirhossein Simjour <asimjour@chromium.org>
diff --git a/src/gestures.cc b/src/gestures.cc
index 64014a5..8006bde 100644
--- a/src/gestures.cc
+++ b/src/gestures.cc
@@ -524,7 +524,6 @@
temp = new ScalingFilterInterpreter(prop_reg_.get(), temp, tracer_.get(),
GESTURES_DEVCLASS_TOUCHPAD);
temp = new FingerMergeFilterInterpreter(prop_reg_.get(), temp, tracer_.get());
- temp = new IntegralGestureFilterInterpreter(temp, tracer_.get());
temp = new StuckButtonInhibitorFilterInterpreter(temp, tracer_.get());
temp = new T5R2CorrectingFilterInterpreter(prop_reg_.get(), temp,
tracer_.get());
@@ -556,7 +555,6 @@
temp = new ScalingFilterInterpreter(prop_reg_.get(), temp, tracer_.get(),
GESTURES_DEVCLASS_TOUCHPAD);
temp = new FingerMergeFilterInterpreter(prop_reg_.get(), temp, tracer_.get());
- temp = new IntegralGestureFilterInterpreter(temp, tracer_.get());
temp = new StuckButtonInhibitorFilterInterpreter(temp, tracer_.get());
temp = loggingFilter_ = new LoggingFilterInterpreter(prop_reg_.get(), temp,
tracer_.get());