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

Commit 7c5f8026 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Use the fuzz, Luke"

parents af1707d5 a16a1210
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6283,7 +6283,7 @@ void JoystickInputMapper::configure(nsecs_t when,

                // To eliminate noise while the joystick is at rest, filter out small variations
                // in axis values up front.
                axis.filter = axis.flat * 0.25f;
                axis.filter = axis.fuzz ? axis.fuzz : axis.flat * 0.25f;

                mAxes.add(abs, axis);
            }