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:
parent
8e73287646
commit
1366dc326a
10 changed files with 131 additions and 14 deletions
|
|
@ -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,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue