Closed lpla closed 4 years ago
Does the gamepad work on https://html5gamepad.com/ ?
Yep, it works and registers all positions of d-pad. Here are all positions of the d-pad registered by html5gamepad (center or no press, left, top-left, top, top-right, right, bottom-right, bottom, bottom-left):
that seems to only be activating one axis though, whereas i'd expect there to be 2?
Yes, Chrome is detecting the d-pad as a joystick with two axis. Safari, in the same test, is detecting the d-pad as individual buttons. See this screenshot in Safari pressing only left d-pad button:
Firefox has the same issue as Chrome, I cannot set left d-pad in config. And left d-pad gets detected by https://html5gamepad.com:
With chrome being an example, does any other axis than 9 actually activate? Similarly with Firefox and axis othern than axis 0.
Everything else stays at 0, as shown in the screenshots.
Seems to be a browser/gamepad issue
For the record, I retested with latest version and issue still happens. And gamepad works well in other programs like emulators. Browser shouldn't be an issue here as it recognises the d-pad directions well as previous screenshots shown, probably because it is a Generic HID Controller.
I don't know if anyone had issue with other kind of controllers which protocol could be similar.
oh! I am experiencing a similar issue! I posted on reddit and discord and they said to come here:
"Has anyone had success setting up the dpad on ps3/ps4/xbox360 controllers on tetr.io?
Up on the dpad shows as negative axis 9, down and right both show as positive axis 9, left doesn't register at all. It's the same on both the app and the website.
The analogue sticks appear to work, but I find them too imprecise for tetris."
Someone replied and said there's some kind of 3rd party app I can use. I'll look around and see what I can find.
Describe the bug/issue
While setting keys to use the Pokken Tournament DX Pro Pad, left key from the d-pad is not registered.
Reproducing
Steps to reproduce the behavior:
Expected behavior
Key gets registered like all other keys in the controller.
Screenshots
Your setup