Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joysticks: Fix mapping PS4 trigger analog semiaxes #25175

Merged
merged 1 commit into from
May 16, 2024

Commits on May 10, 2024

  1. [Joysticks] Fix mapping PS4 trigger analog semiaxes

    Rapid input is dropped when buttonmapping, because some controllers send
    multiple events per button press with different button IDs.
    
    For example, on many PlayStation controllers, the triggers send an analog
    event, and a digital event when the trigger crosses about halfway. The 0.5
    analog event arrives shortly before or shortly after the digital  event.
    
    The bug: If the digital button is ignored, the analog event may be detected
    as rapid input and dropped. This is fixed by prioritizing the "IsIngored"
    check.
    garbear committed May 10, 2024
    Configuration menu
    Copy the full SHA
    808b2bd View commit details
    Browse the repository at this point in the history