I'm trying to interate with the web mame through the browser dev console with keyboard event sending commands to the mame window/canvas, but with the "new" isTrusted security feature in the dispatchEvent ,it cant't be done. The event is trigged, but the real behaviour don't. As an alternat...