From a60c972694f89818df78f1788a9dad67423e3a9e Mon Sep 17 00:00:00 2001 From: Aida Torajiro Date: Mon, 6 Jan 2025 00:54:36 +0900 Subject: [PATCH] Emscripten: fix typo in emscripten-shell.html --- resources/emscripten/emscripten-shell.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/emscripten/emscripten-shell.html b/resources/emscripten/emscripten-shell.html index a4fbf2dc65..c10399edc9 100644 --- a/resources/emscripten/emscripten-shell.html +++ b/resources/emscripten/emscripten-shell.html @@ -270,7 +270,7 @@ /** @type {{[key: number]: Gamepad}} */ let gamepads = {}; -const haveEvents = 'ongamepadonnected' in window; +const haveEvents = 'ongamepadconnected' in window; function addGamepad(gamepad) { if (gamepad == undefined) {