mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fire input loop
This commit is contained in:
parent
9c84b8268f
commit
1f7b41e303
1 changed files with 2 additions and 0 deletions
|
@ -394,6 +394,8 @@ require(['apphost'], function (appHost) {
|
|||
window.addEventListener("blur", dettachGamepad);
|
||||
window.addEventListener("focus", attachGamepad);
|
||||
|
||||
attachGamepad();
|
||||
|
||||
// The gamepadInputEmulation is a string property that exists in JavaScript UWAs and in WebViews in UWAs.
|
||||
// It won't exist in Win8.1 style apps or browsers.
|
||||
if (window.navigator && typeof window.navigator.gamepadInputEmulation === "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue