Format Rust code using rustfmt
This commit is contained in:
parent
12917aa8e4
commit
28e110e3da
1 changed files with 2 additions and 1 deletions
|
@ -1003,7 +1003,8 @@ impl EventReader {
|
||||||
for key in released_keys {
|
for key in released_keys {
|
||||||
if config.mapped_modifiers.all.contains(&Event::Key(key)) {
|
if config.mapped_modifiers.all.contains(&Event::Key(key)) {
|
||||||
self.toggle_modifiers(Event::Key(key), 0, &config).await;
|
self.toggle_modifiers(Event::Key(key), 0, &config).await;
|
||||||
let virtual_event: InputEvent = InputEvent::new_now(EventType::KEY, key.code(), 0);
|
let virtual_event: InputEvent =
|
||||||
|
InputEvent::new_now(EventType::KEY, key.code(), 0);
|
||||||
virt_dev.keys.emit(&[virtual_event]).unwrap();
|
virt_dev.keys.emit(&[virtual_event]).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue