-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
Using some usb headsets causes RunGame to wait 10 seconds before launch #3138
Comments
Maybe https://stackoverflow.com/questions/10967795/directinput8-enumdevices-sometimes-painfully-slow EDIT: Oh yes, you have already noted that |
Yeah. It's very strange that this doesn't happen on other directx based games. |
DirectInput 8 might be pretty outdated so I would replace it with a new one. |
I'll be glad to retest this after the update. |
Looks like a possible fix? What about updating directinput? |
You mean injecting some code for DirectInput (https://raw.githubusercontent.com/funkkiy/godot/8cc66b6f940ec77df624cf7f0124f6bfaf75dafb/platform/windows/hid_proxy.cpp) rather than updating DirectInput? |
This overwrites EDIT: Even if it is possible, Windows antivirtus software tends to warn or ban software using tricky hacks for DLL https://news.ycombinator.com/item?id=26984206 |
That was the first question.
And that was the second separate question about how difficult/long it will be to make this update. |
I heard that SDL had a blacklist for this kind of devices but this doesn't seem like a solution, except for cases where this device is simply connected nearby and not used (and in our case its intended to be used). |
IIUC, adding a device to a blocklist doesn't work since this would not prevent DirectInput from enumerating connected devices. |
Ebitengine Version
2.8+ (6452cbc)
Operating System
Go Version (
go version
)go version go1.23.1 linux/amd64
What steps will reproduce the problem?
Buy one of
DEXP Storm Pro
orRedragon Inferno Pro
usb headset:Connect it to usb on
Windows 10 Pro 22H2 19045.4780
.Run the example:
What is the expected result?
2024-09-03_22-50-12.mp4
What happens instead?
profile-inside.zip
Related:
https://stackoverflow.com/questions/10967795/directinput8-enumdevices-sometimes-painfully-slow
*The owner said that it does not happens in any other game / game engine.
Anything else you feel useful to add?
.
The text was updated successfully, but these errors were encountered: