-
Notifications
You must be signed in to change notification settings - Fork 559
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
Input Device Reset Upon Launch #1209
Comments
That sounds like an SDL thing maybe - the joystick tests at https://github.com/libsdl-org/SDL/tree/main/test may behave the same way? |
Would imagine SDL as well. So far no luck with the tests included with release 2.30.7 (the Will play with them a bit more later, and with different releases perhaps. Thanks! |
One other quick test would be 2.3 and 2.4 with bleeding-edge SDL2 - a breakage would still be weird considering we aren't doing anything fancy with GameController but looking at the devices in question I wonder if libusb is fussing with the devices and causing them to restart; I eventually added a whitelisting system to SDL's libusb enumeration but I didn't think it screwed around with the endpoints just to enumerate them...? |
I saw I did not get to trying much more yet, but I did notice that, if I |
Just to be sure, here's a 2.30.7 binary from flibitBuild: If this one works we've got some kind of regression, but I'm not sure where in the Git timeline it happens... |
This one indeed does seem to normalise things for me! Let me know if there's anything else I can do on my side to pin and point at the issue. Thank you! |
Also, I did see |
Since 2.4 or so (not happening with the 2.3-archive), possibly when ever the input device settings were added, there seems to be some kind of a device reset upon launch, which I only noticed because my mouse sensitivity gets messed up due to this (similar to what happens if I re-plug the device after X11 is already running).
Indeed, if moving the mouse cursor around at the time, it will stop momentarily.
Additionally my keyboard numlock light flashes at the moment.
Even more additionally, a DualShock 4 gamepad seems to become "grabbed" in that it won't be visible even via
evtest
until the game is terminated.A DualShock 2 gamepad isn't affected the same way, but they are in ways quite different hardware after all (I've seen the same thing happen with a
.NET
game before, but I suppose this might be aboutSDL
).Here's what
dmesg
has to say at the time:Few notes on the system this is observed in:
Gentoo Linux with no
systemd
and noACL
support, but yesudev
split from the systemd project.Thank you!
The text was updated successfully, but these errors were encountered: