-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Connecting generic USB joystick crashes SDL2 apps #9042
Comments
I'm pretty sure this is a duplicate of #9021. I plan on looking at that next week. |
This is an SDL2 branch, so SDL_mfijoystick.m is nowhere to be seen here? I thought it was actually macOS bug, but reported it anyway. |
This should be fixed in the latest main and SDL2 code. Please let me know if you're still having issues? |
Thank you, generic joystick now works as expected (tested in SDL2 branch). However, I ran into another issue with an old USB gamepad (Chinese InNext SNES controller). Connecting it while "testjoystick" is running leads to a crash here:
I can report separate issue, if this is unrelated... |
he @mikekov - this looks like it's in the GameController framework - would you mind either filing a feedback with a sysdiagnose at https://feedbackassistant.apple.com and letting me know the number, or capturing a sysdiagnose and sending it to me at natbro@apple.com? haven't seen this one. |
I tried, feedbackassistant is not working (blank page) and sysdiagnose dump is too big for sending by e-mail. Update: sent diagnostics to natbro. |
"testjoystick" can be used to test joystick crash on macOS with latest build of SDL2. All it takes is connecting the generic USB joystick:
hid_enumerate
from "mac" folder has a chance to execute once after joystick is connected. Then, on a second run, macOS encounters this problem.If there's something to work around this bug, I can try it...
The text was updated successfully, but these errors were encountered: