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
[Gamepad API] Ipega PG-9118 dpads are not working with bluetooth connection #45734
Comments
Can you please provide the generated remap string? |
The generated remap string is However, due to this issue, the dpads cannot be remapped as shown below: 2021-02-05.22-12-28.mp4I also notice that the dpads in this gamepad is threaded as axes, not buttons. |
This is common in gamepads, the hardware likely treat them as Hats, the browser convert them to axes.
Seems like |
Oh, I just realized, it seems that axis is not conformant to the spec, since it's outside the - |
All dpads are mapped to AXIS 9 by default, the default value is 3.28571. When I pressed dpad-up the value is -1.00000, dpad-down is 0.14286, dpad-left is 0.71429, dpad-right is -0.42857, as shown below: MOV_0600.mp4The problem is I can't remap the dpads because whenever I try to remap it, it always reverts back to the default value, 3.28571. Therefore the remap will remember all the dpads at the same value at 3.28571 (this is the value when I do not press any dpad).
The axis 9 value is always at 3.28571 by default. However, when I pressed any direction, the value does not exceed the -1, 1 range. This behavior is the same on Google Chrome and Firefox. |
I also report this bug upstream at Chromium bug #1175440. However, for Firefox, they don't even let me log in to their bug tracker. My account is disabled and the reason is... I have not logged on in a long time. I tried logging in with both my email and my Github account, but both are disabled from them due to the same reason. Well, good for them 😫 |
Godot version:
OS/device including version:
Issue description:
After I remapped all the buttons as needed, I noticed that the dpads are not working. It seems Godot thinks I press the dpads all the time in which I didn't. I tested this in Google Chrome and Firefox, the issue happens in both browser as shown below:
Google Chrome:
MOV_0598.mp4
Firefox:
oo.mp4
The dpads are working fine with Xbox 360 Controller Emulator (x360ce) as shown below:
2021-02-05.15-49-03.mp4
I expect the gamepad to work fine using bluetooth connection without having to use x360ce.
Steps to reproduce:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: