bevy/crates/bevy_winit/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
..
accessibility.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
converters.rs Add logical key data to KeyboardInput (#11400) 2024-01-22 15:25:17 +00:00
lib.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
state.rs rename touchpad to gesture, and add new gestures (#13660) 2024-06-04 12:44:25 +00:00
system.rs rename touchpad to gesture, and add new gestures (#13660) 2024-06-04 12:44:25 +00:00
winit_config.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
winit_event.rs rename touchpad to gesture, and add new gestures (#13660) 2024-06-04 12:44:25 +00:00
winit_windows.rs fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00