Fix Android compilation error
This commit is contained in:
parent
90a81cca29
commit
5ebeb8ab5f
2 changed files with 5 additions and 1 deletions
|
|
@ -82,6 +82,7 @@ impl<'a> Iterator for PollEventsIterator<'a> {
|
|||
},
|
||||
location: (motion.x as f64, motion.y as f64),
|
||||
id: motion.pointer_id as u64,
|
||||
device_id: DEVICE_ID,
|
||||
}))
|
||||
},
|
||||
Ok(android_glue::Event::InitWindow) => {
|
||||
|
|
@ -273,3 +274,6 @@ impl WindowProxy {
|
|||
android_glue::wake_event_loop();
|
||||
}
|
||||
}
|
||||
|
||||
// Constant device ID, to be removed when this backend is updated to report real device IDs.
|
||||
const DEVICE_ID: ::DeviceId = ::DeviceId(DeviceId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue