Hi all,

I'm using SDL to track keyboard input, and when I hold an Alt key and then 
press Enter, my app thinks the Alt key has been released (which doesn't 
happen when I compile it to a native executable).

I took a look at the SDL event queue, and an "SDL_KEYUP" event for the Alt 
key is queued if I'm holding an Alt key and hit Enter.  SDL_GetModState and 
SDL_GetKeyboardState both register the Alt key as no longer being held 
after Enter is pressed.

Is this supposed to happen (due to browser behavior)?  Should I not use the 
Alt keys in my app?  I hope this isn't a newbish question, I googled around 
but couldn't find an answer to this.  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.

Reply via email to