bevy/crates/bevy_input/src
Miles Silberling-Cook 4034740396
Add window entity to TouchInput events (#11128)
# Objective

If you have multiple windows, there is no way to determine which window
a `TouchInput` event applies to. This fixes that.

## Solution

- Add the window entity directly to `TouchInput`, just like the other
input events.
- Fixes #6011.

## Migration Guide

+ Add a `window` field when constructing or destructuring a `TouchInput`
struct.
2024-01-02 03:03:05 +00:00
..
axis.rs Improve doc formatting. (#9840) 2023-09-18 19:43:56 +00:00
button_input.rs Add method to check if all inputs are pressed (#11010) 2023-12-18 01:45:43 +00:00
common_conditions.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
gamepad.rs Rename Input to ButtonInput (#10859) 2023-12-06 20:32:34 +00:00
keyboard.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
lib.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
mouse.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
touch.rs Add window entity to TouchInput events (#11128) 2024-01-02 03:03:05 +00:00
touchpad.rs Bevy Input Docs : the modules (#9467) 2023-08-23 12:44:49 +00:00