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

Commit d00a239a authored by Wenxin Feng's avatar Wenxin Feng Committed by Automerger Merge Worker
Browse files

Merge "Update the touchpad sensitivity levels and default sensitivity." into udc-dev am: d089da14

parents aa9645bf d089da14
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) {