mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-19 03:00:55 +03:00
update macos + windows
This commit is contained in:
@@ -262,7 +262,6 @@ impl Emulation for MacOSEmulation {
|
||||
};
|
||||
event.post(CGEventTapLocation::HID);
|
||||
}
|
||||
PointerEvent::Frame { .. } => {}
|
||||
},
|
||||
Event::Keyboard(keyboard_event) => match keyboard_event {
|
||||
KeyboardEvent::Key {
|
||||
@@ -286,7 +285,6 @@ impl Emulation for MacOSEmulation {
|
||||
}
|
||||
KeyboardEvent::Modifiers { .. } => {}
|
||||
},
|
||||
_ => (),
|
||||
}
|
||||
// FIXME
|
||||
Ok(())
|
||||
|
||||
@@ -53,7 +53,6 @@ impl Emulation for WindowsEmulation {
|
||||
value,
|
||||
} => scroll(axis, value as i32),
|
||||
PointerEvent::AxisDiscrete120 { axis, value } => scroll(axis, value),
|
||||
PointerEvent::Frame {} => {}
|
||||
},
|
||||
Event::Keyboard(keyboard_event) => match keyboard_event {
|
||||
KeyboardEvent::Key {
|
||||
@@ -71,7 +70,6 @@ impl Emulation for WindowsEmulation {
|
||||
}
|
||||
KeyboardEvent::Modifiers { .. } => {}
|
||||
},
|
||||
_ => {}
|
||||
}
|
||||
// FIXME
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user