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:
Aleksi Juvani 2019-08-14 01:12:13 +03:00 committed by Osspial
parent 8e73287646
commit 1366dc326a
10 changed files with 131 additions and 14 deletions

View file

@ -75,6 +75,7 @@ impl EventLoop {
android_glue::MotionAction::Cancel => TouchPhase::Cancelled,
},
location,
force: None, // TODO
id: motion.pointer_id as u64,
device_id: DEVICE_ID,
}),