Hi, Is the following possible in Emscripten?
1. Start a message loop and poll for a keyboard event. E.g. using SDL_PollEvent 2. Do not proceed until the event is entered by the user. 3. Return from the message loop when the user enters his selection. 4. Execute the code right after the message loop in the same function. I understand that we cannot use a while loop because that will block the browser from all receiving the keyboard inputs in the first place. Are there other techniques available that can solve this issue? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
