Merge branch 'ios-support-wip' into feature/touch-support
This commit is contained in:
commit
09110a93b0
11 changed files with 186 additions and 41 deletions
|
|
@ -1,3 +1,5 @@
|
|||
use crate::Point;
|
||||
|
||||
use super::Button;
|
||||
|
||||
/// A mouse event.
|
||||
|
|
@ -16,11 +18,8 @@ pub enum Event {
|
|||
|
||||
/// The mouse cursor was moved
|
||||
CursorMoved {
|
||||
/// The X coordinate of the mouse position
|
||||
x: f32,
|
||||
|
||||
/// The Y coordinate of the mouse position
|
||||
y: f32,
|
||||
/// The new position of the mouse cursor
|
||||
position: Point,
|
||||
},
|
||||
|
||||
/// A mouse button was pressed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue