Open uysalibov opened 2 weeks ago
This doesn't answer your question but that code is duplicated from: https://github.com/emscripten-core/emscripten/blob/fa5bc28be30ef78902230fbd4ab185044050de3d/src/library_sdl.js#L687-L694
So I guess SDL programs have the same issue?
Yes, probably it has same issue too.
Why is the marked area in the link I gave in the glfw necessary? Although I do not use any key event in my own project, “backspace” and “tab” do not work in the inputs in html because of this marked field.
https://github.com/emscripten-core/emscripten/blob/94f41734f1e9f74a19ac209e35e803ca29fcdd25/src/library_glfw.js#L416-L425