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

Keyboard doesn't work #14

Closed
emilfihlman opened this issue Jan 3, 2020 · 1 comment
Closed

Keyboard doesn't work #14

emilfihlman opened this issue Jan 3, 2020 · 1 comment

Comments

@emilfihlman
Copy link

Nothing happens when using keyboard to control. Only mouse works.

No errors in the console, either.

@s-macke
Copy link
Owner

s-macke commented Jan 3, 2020

Looks like all browser recently changed their behavior about key events. Now the code takes the keyboard events from the window rather than the canvas.

@s-macke s-macke closed this as completed Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants