bevy/crates/bevy_window/src
François Mockers df57850310
rename touchpad to gesture, and add new gestures (#13660)
# Objective

- With the recent winit update, touchpad specific events can also be
triggered on mobile

## Solution

- Rename them to gestures and add support for the new ones

## Testing

- Tested on the mobile example on iOS


https://github.com/bevyengine/bevy/assets/8672791/da4ed23f-ff0a-41b2-9dcd-726e8546bef2


## Migration Guide

- `TouchpadMagnify` has been renamed to `PinchGesture`
- `TouchpadRotate` has been renamed to `RotationGesture `

---------

Co-authored-by: mike <ramirezmike2@gmail.com>
2024-06-04 12:44:25 +00:00
..
cursor.rs Update cursor.rs (#11617) 2024-01-30 16:34:17 +00:00
event.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
lib.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
raw_handle.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
system.rs Ensure clean exit (#13236) 2024-05-12 15:56:01 +00:00
window.rs rename touchpad to gesture, and add new gestures (#13660) 2024-06-04 12:44:25 +00:00