mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Add touch pressure information for touch events on iOS (#1090)
* Add touch pressure information for touch events on iOS * Add a variant for calibrated touch pressure
This commit is contained in:
@@ -1499,6 +1499,7 @@ unsafe extern "system" fn public_window_callback<T>(
|
||||
continue;
|
||||
},
|
||||
location,
|
||||
force: None, // TODO
|
||||
id: input.dwID as u64,
|
||||
device_id: DEVICE_ID,
|
||||
}),
|
||||
@@ -1603,6 +1604,7 @@ unsafe extern "system" fn public_window_callback<T>(
|
||||
continue;
|
||||
},
|
||||
location,
|
||||
force: None, // TODO
|
||||
id: pointer_info.pointerId as u64,
|
||||
device_id: DEVICE_ID,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user