mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
gamepad: fixed test
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
window.requestAnimationFrame(runAnimation);
|
||||
};
|
||||
|
||||
()=>{
|
||||
(()=>{
|
||||
window.addEventListener('GamepadConnected', (e: GamepadEvent)=>{
|
||||
console.log('Gamepad ' + e.gamepad.index + ' connected!');
|
||||
}, false);
|
||||
@@ -69,4 +69,4 @@
|
||||
|
||||
runAnimation();
|
||||
}
|
||||
}();
|
||||
})();
|
||||
Reference in New Issue
Block a user