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

Add support for 045e:0202 duke xbox controller and fix analog hat readings #818

Merged

Commits on Jul 21, 2024

  1. XBOXOLD: do not hardcode endpoint descriptors

    The 045e:0202 "Microsoft X-Box pad v1 (US)" uses endpoint 2 both
    for IN and OUT, while 045e:0289 "Microsoft X-Box pad v2 (US)"
    uses endpoint 1 for IN and endpoint 2 for OUT.
    Instead of hardcoding endpoints, read them from configuration
    descriptors to make all controllers work.
    
    Without this patch, 045e:0202 does not work.
    
    Signed-off-by: Albert Herranz <[email protected]>
    herraa1 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    b92fa02 View commit details
    Browse the repository at this point in the history
  2. XBOXOLD: fix analog hat readings

    Properly read left and right analog hat values as 16bit little endian integers.
    
    Signed-off-by: Albert Herranz <[email protected]>
    herraa1 committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    ca39e3a View commit details
    Browse the repository at this point in the history