mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-30 08:30:55 +03:00
fix windows + rename to dx/dy everywhere
This commit is contained in:
@@ -177,11 +177,7 @@ impl VirtualInput {
|
||||
match event {
|
||||
Event::Pointer(e) => {
|
||||
match e {
|
||||
PointerEvent::Motion {
|
||||
time,
|
||||
dx: relative_x,
|
||||
dy: relative_y,
|
||||
} => self.pointer.motion(time, relative_x, relative_y),
|
||||
PointerEvent::Motion { time, dx, dy } => self.pointer.motion(time, dx, dy),
|
||||
PointerEvent::Button {
|
||||
time,
|
||||
button,
|
||||
|
||||
Reference in New Issue
Block a user