metal: handle absolute motion events
This commit is contained in:
parent
9bfebe4c42
commit
dc9a3c20ea
5 changed files with 62 additions and 8 deletions
|
|
@ -348,6 +348,11 @@ pub enum InputEvent {
|
|||
dx_unaccelerated: Fixed,
|
||||
dy_unaccelerated: Fixed,
|
||||
},
|
||||
MotionAbsolute {
|
||||
time_usec: u64,
|
||||
x_normed: f32,
|
||||
y_normed: f32,
|
||||
},
|
||||
Button {
|
||||
time_usec: u64,
|
||||
button: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue