-
-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Controller): add trigger click threshold parameter
It's now possible to specify the click threshold that the trigger axis must exceed for a click to be registered. The reason for this is, the trigger click should happen when the axis has reached it's maximum level of 1f but this is achieved by a microswitch inside the controller trigger being pressed and when it is pressed it changes the trigger axis to 1f. However, if the controller microswitch is broken and not registering the click then the trigger axis is never set to 1f and therefore the trigger click event is never emitted. This setting gives the ability to reduce the threshold to a level where a click even can still be recognised on faulty hardware.
- Loading branch information
1 parent
bd3e7d0
commit a5d31da
Showing
3 changed files
with
6 additions
and
2 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
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