You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
It's currently using the old keyCode I was working on updating to code at one point (#117). Not sure why that's still draft, possibly a lack of testing.
I really need to find some time to clean up old PRs/issues...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: