Enable browser detection on UWP WebView 2.

This commit is contained in:
Bradley Eaton
2025-06-30 16:37:47 +01:00
parent eff4ca2f19
commit 54b6d4015c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ function attachGamepadScript() {
// No need to check for gamepads manually at load time, the eventhandler will be fired for that
// Not needed for UWP
if (navigator.getGamepads && appSettings.enableGamepad() && !browser.xboxOne) {
if (navigator.getGamepads && appSettings.enableGamepad() && !browser.edgeUwp) {
window.addEventListener('gamepadconnected', attachGamepadScript);
}