forked from atar-axis/xpadneo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hid-xpadneo, rumble: Do not lose rumble strength while throttled
While the rumble thread is throttled, we may actually miss the peak rumble strength resulting in an experience of rumbles with varying strength when these are repeatedly sent by a game. To work around this, we now accumulate the maximum strength set during the throttle interval, then reset the accumulator when a rumble has been sent to the controller. Signed-off-by: Kai Krakow <[email protected]>
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 deletions.
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