This repository has been archived by the owner on Dec 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu_input_boost: Introduce configurable frame boost timeout
This aims to further mitigate unnecessary boosting by limiting the amount of time a frame boost can be invoked following the last user input event and can also be used to disable frame boosting entirely if a negative value is applied. A default timeout of 3250ms is set to cover an average duration of the longest measurable fling events. Setting a timeout of 0 will restore default frame boost behavior, not accounting for last input events. Signed-off-by: Danny Lin <danny@kdrag0n.dev> [@0ctobot: Adapted from kdrag0n/proton_bluecross@2866d2e and squashed with the following commits: kdrag0n/proton_bluecross@e8702b8 kdrag0n/proton_bluecross@950db83 kdrag0n/proton_bluecross@825008d kdrag0n/proton_bluecross@1305d13 kdrag0n/proton_bluecross@6f17085 kdrag0n/proton_bluecross@14c1ff9 kdrag0n/proton_bluecross@9c3b1db kdrag0n/proton_bluecross@31475c9] Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
- Loading branch information
Showing
4 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters