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

Skip to content
Commit e37bcece authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Use constexpr in VelocityTracker

Previously, defining DEBUG_STRATEGY as 1 would fail to compile.

In this patch, the defines are changed to bools, in order to fix this
going forward.

Also, when I was porting the velocitytracker algorithm to python, I
realized that one of the velocities was wrong. I updated the value. I
didn't check other values, though. It was previously passing likely
because the tolerance for velocity is quite large.

Bug: 192439431
Test: atest libinput_tests
Change-Id: I70b44af6cd5567ee8321b29e509c628fa0b4950e
parent a4cce653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment