HTML5 Button Click Events UWP JavaScript (Xbox)

Serghei Hmeli 1 Reputation point
2022-12-02T11:04:30.887+00:00

Hello,

We use UWP with JavaScript and have a problem with 'GamepadA' on Xbox. We need to be able to click an HTML5 button by pressing it, but it does not work this way. We can simulate it, but we still do not have an active state which happens when the button is pressed and is not released yet. I saw in the docs that 'GampeadA' is analogous to 'Spacebar' on Windows, yet when I run the app on Windows the button press with 'Spacebar' works just fine. I would be grateful if you have some advice. Thank you!

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.