bevy/crates/bevy_winit
UkoeHB ef8a617e12
Add WinitEvent aggregate event for synchronized window event reading (#12100)
# Objective

- Allow users to read window events in the sequence they appeared. This
is important for precise input handling when there are multiple input
events in a single frame (e.g. click and release vs release and click).

## Solution

- Add a mega-enum `WinitEvent` that collects window events, and send
those alongside the existing more granular window events.

---

## Changelog

- Added `WinitEvent` event that aggregates all window events into a
synchronized event stream.
2024-03-03 23:51:53 +00:00
..
src Add WinitEvent aggregate event for synchronized window event reading (#12100) 2024-03-03 23:51:53 +00:00
Cargo.toml Add WinitEvent aggregate event for synchronized window event reading (#12100) 2024-03-03 23:51:53 +00:00