This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Description
Hi,
I am developing an RDP client with emscripten+SDL2, everything works on US keyboard, but once change to non US keyboard (Italian/German, etc), some keys would get the wrong scancode.
Not sure how emscirpten is translating its key event to the SDL library, as modern browsers do provide correct scancode from KeyboardEvent.code.
Any pointers for me to do a proper mapping from KeyboardEvent.code to SDL's scancode?