mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 20:09:59 +03:00
@@ -416,7 +416,10 @@ impl Emulation for MacOSEmulation {
|
|||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
update_modifiers(&self.modifier_state, key, state);
|
let is_modifier = update_modifiers(&self.modifier_state, key, state);
|
||||||
|
if is_modifier {
|
||||||
|
modifier_event(self.event_source.clone(), self.modifier_state.get());
|
||||||
|
}
|
||||||
match state {
|
match state {
|
||||||
// pressed
|
// pressed
|
||||||
1 => self.spawn_repeat_task(code).await,
|
1 => self.spawn_repeat_task(code).await,
|
||||||
|
|||||||
Reference in New Issue
Block a user