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
examples/gamepad: PS4 (Dualshock) bluetooth controller inputs not detected on Windows #2967
Comments
Which USB or bluetooth was the controller connected? Thanks, |
It was connected by bluetooth. Just tested now and connecting by USB does work |
OK, this doesn't work only when connecting it via bluetooth. Another question: does this work with Ebitengine v2.6.7? |
It does not. |
Sure, so this is not a regression. TBH I'm not sure I can fix this, but I'll tackle this tomorrow. Thank you for reporting this! |
@Hatchibombotar - Hello, just to double-check, did you iterate through other gamepad ID's, just to see if it's reported as ID 1 or 2, by chance? |
I failed to reproduce this issue on my Windows (Parallels):
|
Your ID was 030000004c050000c405000000000000 (PS4 Controller) while mine was 78696e70757401000000000000000000 (XInput Gamepad (GLFW)). I'm not 100% sure but upgrading or installing DirectX might resolve the issue. |
Ebitengine Version
2.7.2
Operating System
Go Version (
go version
)go1.22.0 windows/amd64
What steps will reproduce the problem?
go mod init example/project
go mod tidy
, thengo run .
What is the expected result?
Button inputs are recognised
What happens instead?
No other output appears after these lines.
Anything else you feel useful to add?
Using a ps4 dualshock controller, but may not be exclusive to this one. I don't have another one to test with.
Windows 11 Home, 23H2
Example works in the web browser
The text was updated successfully, but these errors were encountered: