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

Enable key input on macOS #10

Merged
merged 2 commits into from
Oct 21, 2020
Merged

Enable key input on macOS #10

merged 2 commits into from
Oct 21, 2020

Conversation

toyboot4e
Copy link
Contributor

This PR changes to handle key inputs via WindowEvent. I made sure that I can use WASD and ESC on my mac after the commts.

Related issue: winit#1470. In short: macOS Accessibilit prevents key inputs from going as DeviceEvent, unfortunately.


  • Most changes in player.rs came from early return (change of indentation).

@mrDIMAS mrDIMAS merged commit df8af56 into mrDIMAS:master Oct 21, 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

Successfully merging this pull request may close these issues.

2 participants