1
0
Fork 0
forked from wry/wry

metal: handle absolute motion events

This commit is contained in:
Julian Orth 2025-07-27 11:33:55 +02:00
parent 9bfebe4c42
commit dc9a3c20ea
5 changed files with 62 additions and 8 deletions

View file

@ -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,