Dump WheelVelocityControlParameters in individual CursorInputMappers.
This information is currently only dumped from InputReader as a global
state. However device can have different configurations in the related
CursorInputMapper.
Test: Manual - adb shell dumpsys input
Change-Id: Ibec2b5ff2533c74924a542fe98d13fa8a88e40ca
diff --git a/libs/input/VelocityControl.cpp b/libs/input/VelocityControl.cpp
index e2bfb50..5c008b1 100644
--- a/libs/input/VelocityControl.cpp
+++ b/libs/input/VelocityControl.cpp
@@ -37,6 +37,10 @@
reset();
}
+VelocityControlParameters& VelocityControl::getParameters() {
+ return mParameters;
+}
+
void VelocityControl::setParameters(const VelocityControlParameters& parameters) {
mParameters = parameters;
reset();