Repository navigation
Keep pads on Apple's Xbox 360 driver next to Xbox One pads - #236
Open
ScriptType wants to merge 1 commit into
Open
ScriptType wants to merge 1 commit into
ScriptType wants to merge 1 commit into
Conversation
SDL reaches a pad on Apple's Xbox 360 driver (wired 360 pads, 360 mode dongles) only through GameController, and drops it there while an Xbox One/Series pad is on its HIDAPI driver. Set SDL_JOYSTICK_HIDAPI_XBOX_ONE=0 when such a pad is connected at launch, unless the user set it already. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Owner
|
Thank you. I have plans to fix a bunch of outstanding controller issues, plans for the near future. I'll review this once I start that - soon! This week. |
Author
|
Nice, as mostly this is a SDL bug i opened there also a bug report maybe they fix it. (the fix here is only a workaround against the sdl bug) which is a workaround :) libsdl-org/SDL#16566 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have a Flydigi APEX 4. On its 2.4 GHz dongle it doesn't work in games if an Xbox Series controller is also connected over Bluetooth at launch. The Flydigi gets dropped then. That's why the run script now sets
SDL_JOYSTICK_HIDAPI_XBOX_ONE=0. This should also help similar controllers.Details
Xbox360Gamepad). The other pad is an Xbox Series controller on Bluetooth (045e:0b13).+hidtracing, Wine's SDL backend never adds the Flydigi. SDL can only reach a pad on Apple's 360 driver through GameController, and it drops it there while an Xbox One/Series pad is on its HIDAPI driver.SDL_JOYSTICK_HIDAPI_XBOX_ONE=0, both pads show up in XInput and WGI.SDL_HIDAPI_IGNORE_DEVICES=0x045e/0x0b13works too, but it breaks again the other way round once the Flydigi itself is on Bluetooth (HIDAPI).ioreg -n Xbox360Gamepad) is connected at launch, leaves it alone if the user set it in the launch options, and logs a line to notproton-run.log. A pad plugged in after launch isn't covered.The first paragraph is mine, written in German and translated with Claude. The details were added by Claude from our debugging session.
🤖 Generated with Claude Code