rukai / winit_input_helper

Processes winit events, allowing input state to be queried at any time.
MIT License
72 stars 31 forks source link

improve mouse_diff interaction with step_with_window_events #41

Open rukai opened 11 months ago

rukai commented 11 months ago

Currently using step_with_window_events will never update mouse_diff as it relies on DeviceEvents but it only takes WindowEvents.

Possibly the solution is to update step_with_window_events to take Event instead of WindowEvent, but I will need to investigate how that affects usage of the API first.