Emscripten key event

Hi,

I’m having a weird problem with sdl2 for emscripten, where keyevents get
sent twice for a single keystroke - the first time with repeat=0, the
second (immediately after) with repeat=1.

I’m not actually building emscripten, just using the -SDL=2 option when
linking so I believe the ‘port’ lib is being used. I tried building it but
failed…

I’ve done a quick ‘pure’ emscripten test and key events seem to be working
that side, so I’m guessing it’s an SDL thing.

Anyone else had this happen?

The same SDL app works fine on desktop windows/macos targets.

Bye,
Mark