Closed toyboot4e closed 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.
WindowEvent
Related issue: winit#1470. In short: macOS Accessibilit prevents key inputs from going as DeviceEvent, unfortunately.
DeviceEvent
player.rs
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.player.rs
came from early return (change of indentation).