mrDIMAS / rusty-shooter

[suspended] 3d shooter written in Rust using rg3d
MIT License
279 stars 25 forks source link

Enable key input on macOS #10

Closed toyboot4e closed 3 years ago

toyboot4e commented 3 years ago

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.