Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Cannot enter @ symbol for macOS keyboard #132

Open
feliwir opened this issue Nov 5, 2020 · 6 comments
Open

Cannot enter @ symbol for macOS keyboard #132

feliwir opened this issue Nov 5, 2020 · 6 comments

Comments

@feliwir
Copy link
Contributor

feliwir commented Nov 5, 2020

On macOS the @ symbol is generated using the Option key and L using a german keyboard layout. However the SDL_TEXTINPUT event is not fired. Is there an easy & quick fix for this?

Thanks

@Daft-Freak
Copy link
Member

Likely caused by preventDefault-ing Alt + anything here: https://github.com/emscripten-ports/SDL2/blob/master/src/video/emscripten/SDL_emscriptenevents.c#L572 (I think mac Option == Alt?). That line can possibly be dropped.

@feliwir
Copy link
Contributor Author

feliwir commented Nov 24, 2020

@Daft-Freak I did a PR fixing the mentioned behaviour

@feliwir
Copy link
Contributor Author

feliwir commented Nov 30, 2020

Anything happening here? This is a major blocker for me

@feliwir
Copy link
Contributor Author

feliwir commented Mar 30, 2021

Can this please get into the latest emsdk?

@kripken
Copy link
Member

kripken commented Mar 31, 2021

@feliwir emscripten-core/emscripten#13800 landed and this will be in the next emsdk release (you can also get it with emsdk install tot in an hour or two once the bots finish building).

@feliwir
Copy link
Contributor Author

feliwir commented Mar 31, 2021

Thanks everyone 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants