Skip to content
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

Xbox Kiosk App Not Accepting Controller Input on Alpha Skip Ahead Channel #6176

Closed
alex-kulcsar opened this issue Nov 1, 2023 · 7 comments
Closed
Labels
bug Something isn't working kiosk arcade.makecode.com/kiosk p2

Comments

@alex-kulcsar
Copy link
Contributor

alex-kulcsar commented Nov 1, 2023

Describe the bug
Xbox One X console on Alpha Skip Ahead. Kiosk app starts correctly and loads games list. When installed, keyboard can navigate within app. App does not respond to controller input.

Will edit tonight after testing with a stock Xbox One.

To Reproduce
(Will add later.)

Expected behavior
App should respond to controller input as well as keyboard input, as it does when running MakeCode Arcade within the built-in Microsoft Edge browser.

Screenshots
(Can add later, although may not be very helpful.)

Desktop (please complete the following information):

  • OS: 10.0.25982.1007 (rs_sbox_dev_flight.231026-2000)
  • Browser: WebView2
  • Version: Unknown

Additional context
Perhaps the WebView2 control is responding to the controller in the wrong mode? Edge browsing on the Xbox treats controller input in two modes. Default mode is browsing mode, allowing the controller to manipulate the browser as if it were a mouse. The alternate mode is to allow the controller to interact with the browser as a game controller. This is usually activated in response to a popup from Edge, although it can be manually activated, too.

@alex-kulcsar
Copy link
Contributor Author

For completeness. From the forum:

eanders
MakeCode Team

@AlexK when you launch into game from kiosk, are you able to play the game with a controller? Games are hosted in iframes and have their own code to read gamepad state. Although kiosk and the simulator both use the browser’s navigator.getGamepads() API, I’ve seen them behave differently.

AlexK
Just tested; no, controllers do not work even after launching the game via the keyboard.

@alex-kulcsar
Copy link
Contributor Author

Works just fine on my stock Xbox One. Both keyboard and controller are operational. Must be something with the WebView2 control included in the current version of Alpha Skip Ahead. Haven't had an update in several days, so I'm probably not running the final bits that were released today. Will update when we get the next update in Alpha Skip Ahead channel.

@alex-kulcsar alex-kulcsar changed the title Placeholder - Xbox Kiosk App Not Accepting Controller Input Xbox Kiosk App Not Accepting Controller Input on Alpha Skip Ahead Channel Nov 2, 2023
@alex-kulcsar
Copy link
Contributor Author

Just received an update on the Alpha Skip Ahead channel. Still not working. Currently running 10.0.25985.1005 (rs_xbox_dev_flight.231029-2000). Based on the version number, I still may not have the final bits to the WebView2 control. Will update again when we get the next update.

@abchatra
Copy link
Collaborator

abchatra commented Nov 2, 2023

@eanders-ms we need to report to webview team

@abchatra abchatra added kiosk arcade.makecode.com/kiosk bug Something isn't working p2 labels Nov 2, 2023
@abchatra abchatra added this to the Hotfix milestone milestone Nov 2, 2023
@eanders-ms
Copy link
Contributor

@alex-kulcsar, thank you for taking the time to report this issue and following up with additional information. Could you please report the same issue in the https://github.com/MicrosoftEdge/WebView2Feedback/issues repository? This will help bring it to the attention of the WebView2 team directly. If it's inconvenient for you to do so, we will be happy to do it on your behalf. But since you have the repro, reporting it directly is a more efficient option.

@alex-kulcsar
Copy link
Contributor Author

Will do! Just received an update today to 10.0.25988.1001 (rs_xbox_dev_flight.231101-2000); same symptoms.

@alex-kulcsar
Copy link
Contributor Author

It's working! Confirmed to work with OS 10.0.26061.1509 (xb_flt_2408ge.240219-2200)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working kiosk arcade.makecode.com/kiosk p2
Projects
None yet
Development

No branches or pull requests

4 participants
@abchatra @eanders-ms @alex-kulcsar and others