Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Changed high end of Easing acceleration curves.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryochan7 committed Jan 10, 2016
1 parent 0d44f6a commit cce4260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/joybutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1262,8 +1262,8 @@ void JoyButton::mouseEvent()

// Allow gradient control on the high end of an axis.
difference = elapsedDiff * difference;
// Range 0.51 - 1.5
difference = difference * 1.32 - 0.48;
// Range 0.502 - 1.5
difference = difference * 1.33067 - 0.496005;
}
break;
}
Expand Down

0 comments on commit cce4260

Please sign in to comment.