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

improve linux joystick detection #902

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 14, 2018

  1. improve linux joystick detection

    This correctly identifies X/Y/Z axes as well as common button types.
    More work needs to be done but this also adds enough log information
    that someone could just send us an allegro.log and we could improve from
    that.
    
    My old xbox 360 controller has 100% of axes and buttons correctly
    identified with his.
    
    Before the patch all the buttons were just named B and the axes were
    mapped completely wrong, mapping triggers as axes and swapping X and Y
    axes of the sticks.
    allefant committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    f8bf646 View commit details
    Browse the repository at this point in the history