MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Xbox Controller is not working in Webview2 in UWP [WinUI2]
@jennifer-nejad is already working on this.
Since Feb 9, 2024.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
I've created a simple UWP application with WinUI 2 according to the official documentation.
The webview is loading the URL https://gamepad-tester.com/
I connected a Gamepad (Xbox One Controller) to my computer.
The gamepad works fine in Google Chrome and Microsoft Edge (Chromium).
But the gamepad is not working in Webview2.
See also: https://github.com/MicrosoftEdge/WebView2Feedback/issues/1318
Importance
Blocking. My app's basic functions are not working due to this issue.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
WinUI2/UWP
Operating System
Windows 10
OS Version
19045.3930
Repro steps
Create a simple WinUI2 UWP application and add a webview2 targeting the URL https://gamepad-tester.com/
Repros in Edge Browser
No
Regression
No, this never worked
Last working version (if regression)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.