Skip to content

fix: keyboard input (#83) #86

Closed Answered by thenick775
sonht0555 asked this question in Q&A
Discussion options

You must be logged in to vote

That js file gets compiled based on my fork located here, which is compiled with emcc. So I don't manually modify the generated output file.

I do like the keyboard for desktop support, and usually it plays nice with me stopping keyboard events when modals are open:

See here for how I do this today.

Upgrading to the latest emcc caused this not to work, which I believe is a bug.

Downgrading the emscripten compiler (emcc) solved the issue by fixing the disabling of events in my case. I assume it will be fixed eventually in the emscripten/core repo soon.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by thenick775
Comment options

You must be logged in to vote
2 replies
@sonht0555
Comment options

@thenick775
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants