Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0320e7c authored by Wenxin Feng's avatar Wenxin Feng
Browse files

Update the touchpad sensitivity levels and default sensitivity.

We provide a new sensitivity array with a lower default value in the middle. The UX results suggest the touchpad sensitivity setting is a little high.

Bug: 276962681
Test: manually
Change-Id: I37e8c690237b4854409e0e8eac7096d709115428
parent d379634a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ const std::vector<CurveSegment> segments = {
        {std::numeric_limits<double>::infinity(), 15.04, -857.758},
};

const std::vector<double> sensitivityFactors = {1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 18, 20};
const std::vector<double> sensitivityFactors = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 18};

std::vector<double> createAccelerationCurveForSensitivity(int32_t sensitivity,
                                                          size_t propertySize) {