-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Some event handlers in emscripten are hardcoded to attach to document or window. Here's what needs to be patched to scope to the component:
- keydown/keypress/keyup,
JSEvents.registerOrRemoveHandler-- Handles SDL key events in WASM - keydown/keypress/keyup,
Module['keyboardListeningElement']-- Used byemscripten-core/emscripten/src/library_sdl.js(in Fastcomp backend?) - keydown/keypress/keyup,
emscripten-core/emscripten/src/library_glfw.js- Calls
window.addEventListenerdirectly
- Calls
Metadata
Metadata
Assignees
Labels
No labels