Re-format on stable rustfmt (#974)
This commit is contained in:
parent
9dd15d00d8
commit
a195ce8146
39 changed files with 587 additions and 713 deletions
|
|
@ -285,14 +285,14 @@ pub fn handle_extended_keys(
|
|||
} else {
|
||||
winuser::VK_LCONTROL
|
||||
}
|
||||
},
|
||||
}
|
||||
winuser::VK_MENU => {
|
||||
if extended {
|
||||
winuser::VK_RMENU
|
||||
} else {
|
||||
winuser::VK_LMENU
|
||||
}
|
||||
},
|
||||
}
|
||||
_ => {
|
||||
match scancode {
|
||||
// This is only triggered when using raw input. Without this check, we get two events whenever VK_PAUSE is
|
||||
|
|
@ -308,10 +308,10 @@ pub fn handle_extended_keys(
|
|||
} else {
|
||||
winuser::VK_SCROLL
|
||||
}
|
||||
},
|
||||
}
|
||||
_ => vkey,
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
Some((vkey, scancode))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue