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

Controllers connected on lauch are reported twice. #1761

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Controllers connected on lauch are reported twice. #1761

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 2.1
Reported for operating system, platform: Mac OS X (All), x86

Comments on the original bug report:

On 2015-02-05 23:20:32 +0000, Martijn Courteaux wrote:

Controller (X360 in my case) that are connected when the application launches generate two SDL_GameControllerDeviceEvents reporting the controller is added. Controllers that are added later do now have this issue.

For now, I simply check against the JoystickID to see if I have already handled it. Haven't done any debugging in SDL yet.

I also tried the suggested patch for bug 2822, but that doesn't work. Not sure if we have the same issue, since he is talking about Joysticks and not GameControllers.

I'm on OS X 10.10.2.

On 2015-02-19 05:22:22 +0000, Ryan C. Gordon wrote:

Marking a large number of bugs with the "triage-2.0.4" keyword at once. Sorry if you got a lot of email from this. This is to help me sort through some bugs in regards to a 2.0.4 release. We may or may not fix this bug for 2.0.4, though!

On 2015-04-07 04:57:56 +0000, Ryan C. Gordon wrote:

(sorry if you get a lot of copies of this email, I'm marking several bugs at once)

Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship.

(Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.)

--ryan.

On 2015-04-09 05:37:34 +0000, Ryan C. Gordon wrote:

To be clear, was this happening with SDL 2.0.3 plus the patch in Bug # 2822? Because there was another fix besides that we had applied, and you might not have gotten that if you started from the 2.0.3 source code.

(In short: latest in revision control might fix your problem already.)

--ryan.

On 2015-05-26 15:56:29 +0000, Sam Lantinga wrote:

I verified that this was still active, and fixed it in this changeset:
https://hg.libsdl.org/SDL/rev/9242a9b29c7d

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant