Update imageviewerGamepad.js

This commit is contained in:
missionfloyd
2023-05-28 20:49:46 -06:00
committed by GitHub
parent df59b74ced
commit 679e873875

View File

@@ -24,7 +24,7 @@ window.addEventListener('gamepadconnected', (e) => {
isWaiting = false; isWaiting = false;
} }
}, 10); }, 10);
window.addEventListener('gamepaddisconnected', (e) => clearInterval(gamepads[e.gamepad.index])) window.addEventListener('gamepaddisconnected', (e) => clearInterval(gamepads[e.gamepad.index]));
}); });
/* /*