Skip to content

Commit

Permalink
Emscripten: fix typo in emscripten-shell.html
Browse files Browse the repository at this point in the history
  • Loading branch information
aidatorajiro authored Jan 5, 2025
1 parent 4ab1f87 commit a60c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/emscripten/emscripten-shell.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a60c972

Please sign in to comment.