diff --git a/better-xcloud.user.js b/better-xcloud.user.js index 15bcef0..0e42519 100644 --- a/better-xcloud.user.js +++ b/better-xcloud.user.js @@ -11597,7 +11597,7 @@ function showGamepadToast(gamepad) { } // Remove "(STANDARD GAMEPAD Vendor: xxx Product: xxx)" from ID - const gamepadId = gamepad.id.replace(/ \(.* Vendor: \w+ Product: \w+\)$/, ''); + const gamepadId = gamepad.id.replace(/ \(.*?Vendor: \w+ Product: \w+\)$/, ''); text += ` - ${gamepadId}`; const status = gamepad.connected ? t('connected') : t('disconnected');