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.
[WIP] xpadneo, deadzones: Implement our own smooth dead zone
This commit sets flatness to zero to let us calculate the dead zone by scaling the axis value instead of jumping out of it. The dead zone is implemented as a smooth axial dead zone. We also need to set fuzz to 0, otherwise `joydev` doesn't always return to the center. See-also: atar-axis#231 Signed-off-by: Kai Krakow <[email protected]>
- Loading branch information
Showing
1 changed file
with
22 additions
and
6 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