Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sokol_app.h emsc: remove hardwired key event consumption table in _sapp_emsc_key_cb() #824

Closed
floooh opened this issue Apr 28, 2023 · 1 comment
Assignees

Comments

@floooh
Copy link
Owner

floooh commented Apr 28, 2023

...this is causing all sorts of problems when there are other page elements outside the wasm app which need to receive keyboard input.

Instead offload the responsibility to the application by calling sapp_consume_event() from the event callback.

Related issues and PRs: #822 , #800, #801

@floooh
Copy link
Owner Author

floooh commented Jan 27, 2024

This sorta fixed with #939.

@floooh floooh closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant