wayland: support for pinch, rotation, and pan gestures
Co-Authored-By: linkmauve <linkmauve@linkmauve.fr> Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
parent
a68f1a664b
commit
3be30affe4
6 changed files with 187 additions and 5 deletions
|
|
@ -264,7 +264,7 @@ pub enum WindowEvent {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - Only available on **macOS** and **iOS**.
|
||||
/// - Only available on **macOS**, **iOS**, and **Wayland**.
|
||||
/// - On iOS, not recognized by default. It must be enabled when needed.
|
||||
PinchGesture {
|
||||
device_id: Option<DeviceId>,
|
||||
|
|
@ -280,7 +280,7 @@ pub enum WindowEvent {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - Only available on **iOS**.
|
||||
/// - Only available on **iOS** and **Wayland**.
|
||||
/// - On iOS, not recognized by default. It must be enabled when needed.
|
||||
PanGesture {
|
||||
device_id: Option<DeviceId>,
|
||||
|
|
@ -316,7 +316,7 @@ pub enum WindowEvent {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// - Only available on **macOS** and **iOS**.
|
||||
/// - Only available on **macOS**, **iOS**, and **Wayland**.
|
||||
/// - On iOS, not recognized by default. It must be enabled when needed.
|
||||
RotationGesture {
|
||||
device_id: Option<DeviceId>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue