ifiedGamepads()}`);
        gamepad.setButton(gamepad.buttons[0], false);
        await handleSDLInputEvents();

        const iframe = document.createElement("iframe");
        iframe.onload = async () => {
            const sendMessageAndWait = (message) => {
                return new Promise((resolve) => {
                    window.onmessage = ({ data }) => {
                        resolve(data);
                    };

                    iframe.contentWindow.postMessage(message, "*");
              